bump go.mod version to Go 1.23, run 1.23 and 1.24 on CI (#4880)

This commit is contained in:
Marten Seemann
2025-02-13 12:49:54 +01:00
committed by GitHub
parent 5af39164b9
commit 12f2be058b
18 changed files with 160 additions and 185 deletions

View File

@@ -4,7 +4,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: [ "1.22.x", "1.23.x" ]
go: [ "1.23.x", "1.24.x" ]
runs-on: ${{ fromJSON(vars['CROSS_COMPILE_RUNNER_UBUNTU'] || '"ubuntu-latest"') }}
name: "Cross Compilation (Go ${{matrix.go}})"
timeout-minutes: 30

View File

@@ -6,21 +6,21 @@ jobs:
fail-fast: false
matrix:
os: [ "ubuntu" ]
go: [ "1.22.x", "1.23.x" ]
go: [ "1.23.x", "1.24.x" ]
race: [ false ]
use32bit: [ false ]
include:
- os: "ubuntu"
go: "1.23.x"
go: "1.24.x"
race: true
- os: "ubuntu"
go: "1.23.x"
go: "1.24.x"
use32bit: true
- os: "windows"
go: "1.23.x"
go: "1.24.x"
race: false
- os: "macos"
go: "1.23.x"
go: "1.24.x"
race: false
runs-on: ${{ fromJSON(vars[format('INTEGRATION_RUNNER_{0}', matrix.os)] || format('"{0}-latest"', matrix.os)) }}
timeout-minutes: 30

View File

@@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23.x"
go-version: "1.24.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
@@ -39,7 +39,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: [ "1.22.x", "1.23.x" ]
go: [ "1.23.x", "1.24.x" ]
env:
GOLANGCI_LINT_VERSION: v1.64.4
name: golangci-lint (Go ${{ matrix.go }})

View File

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