forked from quic-go/quic-go
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:
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -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:
|
||||||
|
|||||||
@@ -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()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user