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 Oct 25, 2019
1 parent 1f9a3d9 commit ba4db7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
@@ -1,6 +1,6 @@
run:
# concurrency: 2
deadline: 5m
deadline: 10m

linter-settings:
goconst:
Expand Down
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 ba4db7f

Please sign in to comment.