Skip to content

Commit

Permalink
ci: fix downgrading of go packages (#575)
Browse files Browse the repository at this point in the history
  • Loading branch information
vatasha committed Oct 7, 2021
1 parent 6bc3b88 commit 1a816c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ ifeq (, $(shell which golangci-lint))
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v$(GOLANGCILINTVERSION)
endif
ifeq (, $(shell which goimports))
go get golang.org/x/tools/cmd/goimports@$(GOIMPORTSVERSION)
GOFLAGS=-mod=readonly go install golang.org/x/tools/cmd/goimports@$(GOIMPORTSVERSION)
endif
ifeq (, $(shell which gox))
go get github.com/mitchellh/gox@$(GOXVERSION)
GOFLAGS=-mod=readonly go install github.com/mitchellh/gox@$(GOXVERSION)
endif
ifeq (, $(shell which gotestsum))
go get gotest.tools/gotestsum@$(GOTESTSUMVERSION)
GOFLAGS=-mod=readonly go install gotest.tools/gotestsum@$(GOTESTSUMVERSION)
endif

.PHONY: git-env
Expand Down

0 comments on commit 1a816c9

Please sign in to comment.