forked from quic-go/quic-go
update to Go 1.25, drop Go 1.23, use go tool for gomock (#5283)
* update to Go 1.25, drop support for Go 1.23 * ci: update golangci-lint to v2.4.0 * use new go tool command for gomock / mockgen * also update Go version used for oss-fuzz
This commit is contained in:
2
.github/workflows/cross-compile.yml
vendored
2
.github/workflows/cross-compile.yml
vendored
@@ -4,7 +4,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go: [ "1.23.x", "1.24.x", "1.25.0-rc.1" ]
|
||||
go: [ "1.24.x", "1.25.x" ]
|
||||
runs-on: ${{ fromJSON(vars['CROSS_COMPILE_RUNNER_UBUNTU'] || '"ubuntu-latest"') }}
|
||||
name: "Cross Compilation (Go ${{matrix.go}})"
|
||||
timeout-minutes: 30
|
||||
|
||||
10
.github/workflows/integration.yml
vendored
10
.github/workflows/integration.yml
vendored
@@ -6,21 +6,21 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ "ubuntu" ]
|
||||
go: [ "1.23.x", "1.24.x", "1.25.0-rc.1" ]
|
||||
go: [ "1.24.x", "1.25.x" ]
|
||||
race: [ false ]
|
||||
use32bit: [ false ]
|
||||
include:
|
||||
- os: "ubuntu"
|
||||
go: "1.24.x"
|
||||
go: "1.25.x"
|
||||
race: true
|
||||
- os: "ubuntu"
|
||||
go: "1.24.x"
|
||||
go: "1.25.x"
|
||||
use32bit: true
|
||||
- os: "windows"
|
||||
go: "1.24.x"
|
||||
go: "1.25.x"
|
||||
race: false
|
||||
- os: "macos"
|
||||
go: "1.24.x"
|
||||
go: "1.25.x"
|
||||
race: false
|
||||
runs-on: ${{ fromJSON(vars[format('INTEGRATION_RUNNER_{0}', matrix.os)] || format('"{0}-latest"', matrix.os)) }}
|
||||
timeout-minutes: 30
|
||||
|
||||
6
.github/workflows/lint.yml
vendored
6
.github/workflows/lint.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.24.x"
|
||||
go-version: "1.25.x"
|
||||
- name: Check for //go:build ignore in .go files
|
||||
run: |
|
||||
IGNORED_FILES=$(grep -rl '//go:build ignore' . --include='*.go') || true
|
||||
@@ -37,9 +37,9 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go: [ "1.23.x", "1.24.x", "1.25.0-rc.1" ]
|
||||
go: [ "1.24.x", "1.25.x" ]
|
||||
env:
|
||||
GOLANGCI_LINT_VERSION: v2.1.6
|
||||
GOLANGCI_LINT_VERSION: v2.4.0
|
||||
name: golangci-lint (Go ${{ matrix.go }})
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
2
.github/workflows/unit.yml
vendored
2
.github/workflows/unit.yml
vendored
@@ -7,7 +7,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ "ubuntu", "windows", "macos" ]
|
||||
go: [ "1.23.x", "1.24.x", "1.25.0-rc.1" ]
|
||||
go: [ "1.24.x", "1.25.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
|
||||
|
||||
Reference in New Issue
Block a user