CI: Update Go and Kind versions

This commit is contained in:
Philip Gough
2022-04-02 15:12:15 +01:00
parent 779ef33dae
commit 92cb360578
2 changed files with 7 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ on:
- pull_request - pull_request
env: env:
golang-version: '1.17' golang-version: '1.17'
kind-version: 'v0.11.1' kind-version: 'v0.12.0'
jobs: jobs:
generate: generate:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@@ -89,6 +89,9 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
persist-credentials: false persist-credentials: false
- uses: actions/setup-go@v2
with:
go-version: ${{ env.golang-version }}
- name: Start KinD - name: Start KinD
uses: engineerd/setup-kind@v0.5.0 uses: engineerd/setup-kind@v0.5.0
with: with:

View File

@@ -4,6 +4,8 @@ on:
workflow_dispatch: workflow_dispatch:
schedule: schedule:
- cron: '37 7 * * 1' - cron: '37 7 * * 1'
env:
golang-version: '1.17'
jobs: jobs:
versions: versions:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -21,7 +23,7 @@ jobs:
ref: ${{ matrix.branch }} ref: ${{ matrix.branch }}
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: 1.16 go-version: ${{ env.golang-version }}
- name: Upgrade versions - name: Upgrade versions
id: versions id: versions
run: | run: |