Browse Source

travis: Pin the golangci-lint version

golangci-lint's documentation recommends running from a stable version
(and doesn't guarantee master will work). We did not have issues because
we accidentally had it in our go.mod, so we had a pinned version.

Signed-off-by: Anatole Denis <anatole@unverle.fr>
Anatole Denis 5 years ago
parent
commit
88fd284181
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -36,5 +36,5 @@ jobs:
       before_install: go get -u github.com/u-root/u-root/tools/checklicenses
       script: checklicenses -c .travis/checklicenses_config.json
     - name: golangci-lint
-      before_install: GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint
+      before_install: go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.27.0
       script: golangci-lint run