Update linter
This commit is contained in:
parent
4361f7057d
commit
fd4b3558cc
2 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ jobs:
|
|||
name: default
|
||||
steps:
|
||||
- *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
|
||||
check-license:
|
||||
executor:
|
||||
|
|
2
Makefile
2
Makefile
|
@ -44,7 +44,7 @@ check-comments:
|
|||
${GOLINT_CMD} -set_exit_status ${GO_FOLDERS} .
|
||||
|
||||
lint: | check-comments
|
||||
golangci-lint run -v -E ${LINT_SETTINGS},gomnd
|
||||
golangci-lint run --timeout 2m0s -v -E ${LINT_SETTINGS},gomnd
|
||||
|
||||
add-license:
|
||||
${ADDLICENCE_SCRIPT} .
|
||||
|
|
Loading…
Reference in a new issue