Skip to content

Commit

Permalink
chore: Bump golangci-lint to v1.54 (sourcenetwork#1881)
Browse files Browse the repository at this point in the history
## Relevant issue(s)
Resolves sourcenetwork#1880 

## Description
This bump fixes the nolintlint warning.
  • Loading branch information
shahzadlone authored Sep 14, 2023
1 parent 9524a41 commit 94790ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion errors/defraError.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 94790ef

Please sign in to comment.