Enforce updating license dependencies

- Closes: #1148

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2025-01-20 10:21:32 -07:00
parent ef376e97de
commit 53c939608b
5 changed files with 99 additions and 112 deletions

View File

@@ -9,6 +9,8 @@ GOLANGCI_LINT_VERSION := v1.60.1
GOLANG_DEADCODE := $(TOOLS_BIN)/deadcode
GOLANG_LICENSES := $(TOOLS_BIN)/go-licenses
PROTOC := $(TOOLS_BIN)/protoc
PROTOC_GEN_GO := $(TOOLS_BIN)/protoc-gen-go
PROTOC_GEN_GO_GRPC := $(TOOLS_BIN)/protoc-gen-go-grpc
@@ -51,6 +53,9 @@ $(PROTOC_GEN_GO):
$(PROTOC_GEN_GO_GRPC):
GOBIN="$(PWD)/$(TOOLS_BIN)" go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2
$(GOLANG_LICENSES):
GOBIN="$(PWD)/$(TOOLS_BIN)" go install github.com/google/go-licenses@v1.6.0
.PHONY: cleantools
cleantools:
rm -rf $(TOOLS_DIR)