Skip to content

Commit

Permalink
Use (go install) instead of (go get)
Browse files Browse the repository at this point in the history
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č <mitr@redhat.com>
  • Loading branch information
mtrmac committed Mar 26, 2024
1 parent 11a0e86 commit d847108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,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:
Expand Down

0 comments on commit d847108

Please sign in to comment.