ci: update to Go 1.22.0 (#4312)

This commit is contained in:
Marten Seemann
2024-02-08 09:15:56 +07:00
committed by GitHub
parent 43baf2db7a
commit 013949cda3
10 changed files with 16 additions and 18 deletions

View File

@@ -4,7 +4,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: [ "1.21.x", "1.22.0-rc.2" ]
go: [ "1.21.x", "1.22.x" ]
runs-on: ${{ fromJSON(vars['CROSS_COMPILE_RUNNER_UBUNTU'] || '"ubuntu-latest"') }}
name: "Cross Compilation (Go ${{matrix.go}})"
steps:

View File

@@ -6,7 +6,7 @@ jobs:
fail-fast: false
matrix:
os: [ "ubuntu" ]
go: [ "1.21.x", "1.22.0-rc.2" ]
go: [ "1.21.x", "1.22.x" ]
include:
- os: "windows"
go: "1.21.x"

View File

@@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21.x"
go-version: "1.22.x"
- name: Check that no non-test files import Ginkgo or Gomega
run: .github/workflows/no_ginkgo.sh
- name: Check for //go:build ignore in .go files
@@ -38,7 +38,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: [ "1.21.x", "1.22.0-rc.2" ]
go: [ "1.21.x", "1.22.x" ]
name: golangci-lint (Go ${{ matrix.go }})
steps:
- uses: actions/checkout@v4

View File

@@ -7,7 +7,7 @@ jobs:
fail-fast: false
matrix:
os: [ "ubuntu", "windows", "macos" ]
go: [ "1.21.x", "1.22.0-rc.2" ]
go: [ "1.21.x", "1.22.x" ]
runs-on: ${{ fromJSON(vars[format('UNIT_RUNNER_{0}', matrix.os)] || format('"{0}-latest"', matrix.os)) }}
name: Unit tests (${{ matrix.os}}, Go ${{ matrix.go }})
steps: