Update linter

This commit is contained in:
Patrick O'Grady 2020-09-20 15:24:43 -07:00
parent 4361f7057d
commit fd4b3558cc
No known key found for this signature in database
GPG key ID: 8DE11C985C0C8D85
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ jobs:
name: default name: default
steps: steps:
- *fast-checkout - *fast-checkout
- run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.27.0 - run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0
- run: make lint - run: make lint
check-license: check-license:
executor: executor:

View file

@ -44,7 +44,7 @@ check-comments:
${GOLINT_CMD} -set_exit_status ${GO_FOLDERS} . ${GOLINT_CMD} -set_exit_status ${GO_FOLDERS} .
lint: | check-comments lint: | check-comments
golangci-lint run -v -E ${LINT_SETTINGS},gomnd golangci-lint run --timeout 2m0s -v -E ${LINT_SETTINGS},gomnd
add-license: add-license:
${ADDLICENCE_SCRIPT} . ${ADDLICENCE_SCRIPT} .