Merge pull request #180 from cloudskiff/fix_lint_fail_on_ci

Fix lint sometimes fail in CI
main
Elie 2021-02-01 13:53:03 +01:00 committed by GitHub
commit 7994c6fd8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ clean:
.PHONY: lint
lint:
@which golangci-lint > /dev/null 2>&1 || (curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | bash -s -- -b $(GOBINPATH) v1.31.0)
golangci-lint run
golangci-lint run --timeout=2m
.PHONY: deps
deps: