CI: Update Go and Kind versions
This commit is contained in:
5
.github/workflows/ci.yaml
vendored
5
.github/workflows/ci.yaml
vendored
@@ -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:
|
||||||
|
|||||||
4
.github/workflows/versions.yaml
vendored
4
.github/workflows/versions.yaml
vendored
@@ -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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user