Merge pull request #3665 from estesp/golangcideadline

Move golangci-lint deadline to config file
This commit is contained in:
Wei Fu 2019-09-19 21:51:05 +08:00 committed by GitHub
commit d4802a64f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ linters:
- errcheck
run:
deadline: 2m
skip-dirs:
- api
- design

View File

@ -121,7 +121,7 @@ all: binaries
check: proto-fmt ## run all linters
@echo "$(WHALE) $@"
GOGC=75 golangci-lint run --deadline 2m
GOGC=75 golangci-lint run
ci: check binaries checkprotos coverage coverage-integration ## to be used by the CI