From 3f857054615aac63c5230bd3a345525fdce8872d Mon Sep 17 00:00:00 2001 From: Sargun Dhillon Date: Tue, 3 Sep 2019 10:46:31 -0700 Subject: [PATCH] Upgrade linter, and move away from incremental linting Incremental linting doesn't seem to catch issues correctly. This runs the linters in a more standard way. --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 05c38aa31..78b13853b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,10 +15,10 @@ jobs: command: V=1 CI=1 make vet - run: name: Install linters - command: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s v1.15.0 && mv ./bin/* /go/bin/ + command: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s v1.17.1 && mv ./bin/* /go/bin/ - run: name: Lint - command: golangci-lint run --new-from-rev "HEAD~$(git rev-list master.. --count)" ./... + command: golangci-lint run ./... - run: name: Dependencies command: scripts/validate/gomod.sh