From a77999460945d1b23cc88cba2e8b064242861fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Thu, 21 Mar 2024 20:11:15 +0100 Subject: [PATCH] Use (go install) instead of (go get) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This use of (go get) was deprecated back in Go 1.18. Also don't use our build tags for building unrelated tools. Signed-off-by: Miloslav Trmač --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e0f24d1195..9eaf7a6385 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ tools: .install.gitvalidation .install.golangci-lint .install.gitvalidation: if [ ! -x "$(GOBIN)/git-validation" ]; then \ - GO111MODULE="off" go get $(BUILDFLAGS) github.com/vbatts/git-validation; \ + go install github.com/vbatts/git-validation@latest; \ fi .install.golangci-lint: