Merge 976473ee7f into bf040e1188
This commit is contained in:
commit
20bc44fe7c
6
Makefile
6
Makefile
|
|
@ -70,7 +70,7 @@ HAS_GOLINT := $(shell which $(PROJECT_DIR)/bin/golangci-lint)
|
|||
lint: ## Verifies `golint` passes
|
||||
@echo "+ $@"
|
||||
ifndef HAS_GOLINT
|
||||
GOBIN=$(PROJECT_DIR)/bin go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.0
|
||||
GOBIN=$(PROJECT_DIR)/bin go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.0
|
||||
endif
|
||||
@bin/golangci-lint run
|
||||
|
||||
|
|
@ -162,7 +162,7 @@ staticcheck: ## Verifies `staticcheck` passes
|
|||
@echo "+ $@"
|
||||
ifndef HAS_STATICCHECK
|
||||
$(eval TMP_DIR := $(shell mktemp -d))
|
||||
wget -O $(TMP_DIR)/staticcheck_$(PLATFORM)_amd64.tar.gz https://github.com/dominikh/go-tools/releases/download/2023.1.7/staticcheck_$(PLATFORM)_amd64.tar.gz
|
||||
wget -O $(TMP_DIR)/staticcheck_$(PLATFORM)_amd64.tar.gz https://github.com/dominikh/go-tools/releases/download/2025.1.1/staticcheck_$(PLATFORM)_amd64.tar.gz
|
||||
tar zxvf $(TMP_DIR)/staticcheck_$(PLATFORM)_amd64.tar.gz -C $(TMP_DIR)
|
||||
mkdir -p $(PROJECT_DIR)/bin
|
||||
mv $(TMP_DIR)/staticcheck/staticcheck $(PROJECT_DIR)/bin
|
||||
|
|
@ -579,7 +579,7 @@ ENVTEST ?= $(LOCALBIN)/setup-envtest
|
|||
|
||||
## Tool Versions
|
||||
KUSTOMIZE_VERSION ?= v5.3.0
|
||||
CONTROLLER_TOOLS_VERSION ?= v0.14.0
|
||||
CONTROLLER_TOOLS_VERSION ?= v0.16.4
|
||||
|
||||
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
|
||||
.PHONY: kustomize
|
||||
|
|
|
|||
Loading…
Reference in New Issue