From 3e1a54615fac153689b3d092feed7bc1a0193be9 Mon Sep 17 00:00:00 2001 From: magodo Date: Sun, 25 Apr 2021 12:08:20 +0800 Subject: [PATCH] GNUMakefile: use `go install` to install tools since Go v1.16 (#11459) --- GNUmakefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 909fcabd35fe..5e8144f49c78 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -13,12 +13,12 @@ default: build tools: @echo "==> installing required tooling..." @sh "$(CURDIR)/scripts/gogetcookie.sh" - GO111MODULE=off go get -u github.com/client9/misspell/cmd/misspell - GO111MODULE=off go get -u github.com/bflad/tfproviderlint/cmd/tfproviderlint - GO111MODULE=off go get -u github.com/bflad/tfproviderdocs - GO111MODULE=off go get -u github.com/katbyte/terrafmt - GO111MODULE=off go get -u golang.org/x/tools/cmd/goimports - GO111MODULE=off go get -u mvdan.cc/gofumpt + go install github.com/client9/misspell/cmd/misspell@latest + go install github.com/bflad/tfproviderlint/cmd/tfproviderlint@latest + go install github.com/bflad/tfproviderdocs@latest + go install github.com/katbyte/terrafmt@latest + go install golang.org/x/tools/cmd/goimports@latest + go install mvdan.cc/gofumpt@latest curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $$(go env GOPATH || $$GOPATH)/bin v1.32.0 build: fmtcheck generate