소스 검색

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 년 전
부모
커밋
88fd284181
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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