diff --git a/Makefile b/Makefile index 1e26e552..91ceb344 100644 --- a/Makefile +++ b/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%