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:
Marten Seemann
2025-08-16 06:14:01 +02:00
committed by GitHub
parent fee90a89ef
commit fea19fc3ec
17 changed files with 98 additions and 104 deletions

View File

@@ -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