use Go 1.18 on CI

This commit is contained in:
Marten Seemann
2022-03-16 10:10:47 +04:00
parent 36977dd528
commit 366097106c
11 changed files with 83 additions and 26 deletions

View File

@@ -4,7 +4,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: [ "1.16.x", "1.17.x" ]
go: [ "1.17.x", "1.18.x" ]
runs-on: ubuntu-latest
name: "Cross Compilation (Go ${{matrix.go}})"
steps:

View File

@@ -20,4 +20,4 @@ go generate ./...
cd ..
# don't compare fuzzing corpora
diff --exclude=corpus -ruN orig generated
diff --exclude=corpus --exclude=.git -ruN orig generated

View File

@@ -6,7 +6,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.17.x"
go-version: "1.18.x"
- name: Install dependencies
run: go build
- name: Install code generators

View File

@@ -5,7 +5,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: [ "1.16.x", "1.17.x", "1.18.0-rc1" ]
go: [ "1.16.x", "1.17.x", "1.18.x" ]
runs-on: ubuntu-latest
env:
DEBUG: false # set this to true to export qlogs and save them as artifacts

View File

@@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.17.x"
go-version: "1.18.x"
- name: Check that no non-test files import Ginkgo or Gomega
run: .github/workflows/no_ginkgo.sh
- name: Check that go.mod is tidied

View File

@@ -7,7 +7,7 @@ jobs:
fail-fast: false
matrix:
os: [ "ubuntu", "windows", "macos" ]
go: [ "1.16.x", "1.17.x", "1.18.0-rc1" ]
go: [ "1.16.x", "1.17.x", "1.18.x" ]
runs-on: ${{ matrix.os }}-latest
name: Unit tests (${{ matrix.os}}, Go ${{ matrix.go }})
steps: