forked from Gitlink/gitea-1156
Update golangci-lint to 1.35.2 (#14418)
This commit is contained in:
parent
072d550dda
commit
62643d94a3
2
Makefile
2
Makefile
|
@ -709,7 +709,7 @@ pr\#%: clean-all
|
|||
golangci-lint:
|
||||
@hash golangci-lint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
||||
export BINARY="golangci-lint"; \
|
||||
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.31.0; \
|
||||
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.35.2; \
|
||||
fi
|
||||
golangci-lint run --timeout 10m
|
||||
|
||||
|
|
Loading…
Reference in New Issue