diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index df2af79dd0..a08db5565a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -46,7 +46,7 @@ jobs: # Required: the version of golangci-lint is required. # Note: The version should not pick the patch version as the latest patch # version is what will always be used. - version: v1.53 + version: v1.54 # Optional: working directory, useful for monorepos or if we wanted to run this # on a non-root directory. diff --git a/Makefile b/Makefile index 6eb3456fcc..21fcfcedf1 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,7 @@ client\:add-schema: .PHONY: deps\:lint deps\:lint: - go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53 + go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54 .PHONY: deps\:test deps\:test: diff --git a/errors/defraError.go b/errors/defraError.go index 7ebe4355de..2281add30e 100644 --- a/errors/defraError.go +++ b/errors/defraError.go @@ -58,7 +58,7 @@ func (e *defraError) Error() string { } func (e *defraError) Is(other error) bool { - switch otherTyped := other.(type) { //nolint:errorlint + switch otherTyped := other.(type) { case *defraError: return e.message == otherTyped.message default: