ci: update golangci-lint to v2.6.0 (#5412)

* ci: update golangci-lint to v2.6.0

* supress synctest linter warning
This commit is contained in:
Marten Seemann
2025-10-30 22:18:03 +01:00
committed by GitHub
parent d526a3f58a
commit b25c128993
2 changed files with 2 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ jobs:
matrix: matrix:
go: [ "1.24.x", "1.25.x" ] go: [ "1.24.x", "1.25.x" ]
env: env:
GOLANGCI_LINT_VERSION: v2.4.0 GOLANGCI_LINT_VERSION: v2.6.0
GOEXPERIMENT: ${{ matrix.go == '1.24.x' && 'synctest' || '' }} GOEXPERIMENT: ${{ matrix.go == '1.24.x' && 'synctest' || '' }}
name: golangci-lint (Go ${{ matrix.go }}) name: golangci-lint (Go ${{ matrix.go }})
steps: steps:

View File

@@ -14,5 +14,6 @@ func Test(t *testing.T, f func(t *testing.T)) {
} }
func Wait() { func Wait() {
//nolint:govet // the CI configuration sets the GOEXPERIMENT=synctest flag
synctest.Wait() synctest.Wait()
} }