소스 검색

Try old method of installing golang linter ...

* Method from docs is broken in travis.
max furman 6 년 전
부모
커밋
1a34e64c65
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -20,7 +20,7 @@ all: build test lint
 
 
 bootstra%:
 bootstra%:
 	# Using a released version of golangci-lint to take into account custom replacements in their go.mod
 	# Using a released version of golangci-lint to take into account custom replacements in their go.mod
-	$Q curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.24.0
+	$Q GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.24.0
 
 
 .PHONY: bootstra%
 .PHONY: bootstra%