Просмотр исходного кода

Try old method of installing golang linter ...

* Method from docs is broken in travis.
max furman 6 лет назад
Родитель
Сommit
1a34e64c65
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -20,7 +20,7 @@ all: build test lint
 
 bootstra%:
 	# 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%