forked from quic-go/quic-go
ci: update golangci-lint to v1.62.0 (#4725)
This commit is contained in:
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
||||
matrix:
|
||||
go: [ "1.22.x", "1.23.x" ]
|
||||
env:
|
||||
GOLANGCI_LINT_VERSION: v1.60.1
|
||||
GOLANGCI_LINT_VERSION: v1.62.0
|
||||
name: golangci-lint (Go ${{ matrix.go }})
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -16,9 +16,9 @@ linters:
|
||||
disable-all: true
|
||||
enable:
|
||||
- asciicheck
|
||||
- copyloopvar
|
||||
- depguard
|
||||
- exhaustive
|
||||
- exportloopref
|
||||
- goimports
|
||||
- gofmt # redundant, since gofmt *should* be a no-op after gofumpt
|
||||
- gofumpt
|
||||
|
||||
@@ -1639,7 +1639,6 @@ var _ = Describe("Connection", func() {
|
||||
})
|
||||
|
||||
for _, withGSO := range []bool{false, true} {
|
||||
withGSO := withGSO
|
||||
It(fmt.Sprintf("doesn't try to send if the send queue is full: %t", withGSO), func() {
|
||||
if withGSO {
|
||||
enableGSO()
|
||||
|
||||
@@ -257,7 +257,6 @@ var _ = Describe("Connection", func() {
|
||||
})
|
||||
|
||||
for _, pers := range []protocol.Perspective{protocol.PerspectiveServer, protocol.PerspectiveClient} {
|
||||
pers := pers
|
||||
expectedErr := ErrCodeIDError
|
||||
if pers == protocol.PerspectiveClient {
|
||||
expectedErr = ErrCodeStreamCreationError
|
||||
|
||||
Reference in New Issue
Block a user