diff --git a/Makefile b/Makefile index b24fff07..feda883d 100644 --- a/Makefile +++ b/Makefile @@ -24,22 +24,19 @@ $(GOIMPORTS): | $(BIN) ; $(info $(M) Installing goimports $(GOIMPORTS_VERSION).. $(BIN): @mkdir -p $@ $(BIN)/%: | $(BIN) ; $(info $(M) Building $(PACKAGE)...) - $Q tmp=$$(mktemp -d); \ - env GO111MODULE=off GOPATH=$$tmp GOBIN=$(BIN) $(GO) get $(PACKAGE) \ - || ret=$$?; \ - rm -rf $$tmp ; exit $$ret + env GOBIN=$(BIN) $(GO) install $(PACKAGE) GOLINT = $(BIN)/golint $(BIN)/golint: PACKAGE=golang.org/x/lint/golint GOCOV = $(BIN)/gocov -$(BIN)/gocov: PACKAGE=github.com/axw/gocov/... +$(BIN)/gocov: PACKAGE=github.com/axw/gocov/gocov@v1.1.0 GOCOVXML = $(BIN)/gocov-xml -$(BIN)/gocov-xml: PACKAGE=github.com/AlekSi/gocov-xml +$(BIN)/gocov-xml: PACKAGE=github.com/AlekSi/gocov-xml@v1.1.0 GOJUNITREPORT = $(BIN)/go-junit-report -$(BIN)/go-junit-report: PACKAGE=github.com/jstemmer/go-junit-report +$(BIN)/go-junit-report: PACKAGE=github.com/jstemmer/go-junit-report/v2@v2.1.0 GOLANGCILINT = $(BIN)/golangci-lint $(BIN)/golangci-lint: ; $(info $(M) Installing golangci-lint...) @