1
0
mirror of https://github.com/containers/image.git synced 2025-04-18 19:44:05 +03:00

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č <mitr@redhat.com>
This commit is contained in:
Miloslav Trmač 2024-03-21 20:11:15 +01:00
parent 11a0e864af
commit d847108fb4

View File

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