Skip to content

Commit

Permalink
tools: upgrade golangci-lint to v1.62.0
Browse files Browse the repository at this point in the history
unaeat committed Nov 22, 2024
1 parent 5047727 commit 57afcad
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ run:
deadline: 10m
linters:
enable:
- vet
- govet
- gofmt
- misspell
- goconst
2 changes: 1 addition & 1 deletion crypto/elliptic/secp256k1.go
Original file line number Diff line number Diff line change
@@ -26,4 +26,4 @@ var (

func Secp256k1() *ellipticCurve {
return secp256k1Curve
}
}
4 changes: 2 additions & 2 deletions tools/lint.mk
Original file line number Diff line number Diff line change
@@ -4,9 +4,9 @@ GOLINT ?= $(GOTOOL_GOPATH)/bin/golangci-lint

# lint
$(GOLINT):
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOTOOL_GOPATH)/bin v1.54.1
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOTOOL_GOPATH)/bin v1.62.0

PHONY += lint
lint: $(GOLINT)
$(GOLINT) run --deadline 5m
$(GOLINT) run --timeout 5m

0 comments on commit 57afcad

Please sign in to comment.