Skip to content

Commit a779994

Browse files
committed
Use (go install) instead of (go get)
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č <[email protected]>
1 parent 5501414 commit a779994

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ tools: .install.gitvalidation .install.golangci-lint
5050

5151
.install.gitvalidation:
5252
if [ ! -x "$(GOBIN)/git-validation" ]; then \
53-
GO111MODULE="off" go get $(BUILDFLAGS) github.com/vbatts/git-validation; \
53+
go install github.com/vbatts/git-validation@latest; \
5454
fi
5555

5656
.install.golangci-lint:

0 commit comments

Comments
 (0)