remove GOTOOLCHAIN

Signed-off-by: Terry Howe <terrylhowe@gmail.com>
This commit is contained in:
Terry Howe 2025-10-29 13:02:15 -06:00
parent 075c096afe
commit e7bea8513c
No known key found for this signature in database

View file

@ -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)