File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ GINKGO ?= $(LOCALBIN)/ginkgo
2020# # Tool Versions
2121CONTROLLER_TOOLS_VERSION ?= v0.14.0
2222GOTOOLCHAIN_VERSION ?= go1.21.0
23+ GOLANGCI_VERSION ?= v1.64.8
2324
2425# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
2526ENVTEST_K8S_VERSION = 1.29
@@ -123,7 +124,7 @@ gotest: get-ci-tools envtest ## Run go test via ci-tools script against code
123124.PHONY : golangci
124125golangci : get-ci-tools # # Run golangci-lint test via ci-tools script against code
125126 for mod in $( shell find modules/ -maxdepth 1 -mindepth 1 -type d) ; do \
126- GOWORK=off $(CI_TOOLS_REPO_DIR ) /test-runner/golangci.sh ./$$ mod || exit 1 ; \
127+ GOLANGCI_TAG= $( GOLANGCI_VERSION ) GOWORK=off $(CI_TOOLS_REPO_DIR ) /test-runner/golangci.sh ./$$ mod || exit 1 ; \
127128 done
128129
129130.PHONY : golint
You can’t perform that action at this time.
0 commit comments