remove GOTOOLCHAIN

Signed-off-by: Terry Howe <terrylhowe@gmail.com>
pull/31343/head
Terry Howe 8 months ago
parent 075c096afe
commit e7bea8513c
No known key found for this signature in database

@ -9,7 +9,6 @@ GOBIN = $(shell go env GOBIN)
ifeq ($(GOBIN),)
GOBIN = $(shell go env GOPATH)/bin
endif
GOTOOLCHAIN = $(shell awk '/^go / {print "go" $$2}' go.mod)
GORELEASER = $(GOBIN)/goreleaser
GOIMPORTS = $(GOBIN)/goimports
ARCH = $(shell go env GOARCH)
@ -164,7 +163,7 @@ gen-test-golden: test-unit
# without a go.mod file when downloading the following dependencies
$(GORELEASER):
(cd /; GOTOOLCHAIN=$(GOTOOLCHAIN) go install github.com/goreleaser/goreleaser@latest)
(cd /; go install github.com/goreleaser/goreleaser@latest)
$(GOIMPORTS):
(cd /; go install golang.org/x/tools/cmd/goimports@latest)

Loading…
Cancel
Save