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
|
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:
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -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} .
|
||||||
|
|
Loading…
Reference in a new issue