Skip to content

Commit

Permalink
chore(*): update golangci-lint version from 1.16.0 to 1.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zhujian7 committed Nov 7, 2019
1 parent 1f9a3d9 commit df7cacb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -88,10 +88,10 @@ build: build-local

# more info about `GOGC` env: https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint
lint: $(GOLANGCI_LINT)
@GOGC=5 $(GOLANGCI_LINT) run
@$(GOLANGCI_LINT) run

$(GOLANGCI_LINT):
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(BIN_DIR) v1.16.0
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(BIN_DIR) v1.20.1

test:
@go test -p $(CPUS) $$(go list ./... | grep -v /vendor | grep -v /test) -coverprofile=coverage.out
Expand Down

0 comments on commit df7cacb

Please sign in to comment.