Skip to content

Commit e9964a1

Browse files
authored
Merge pull request #612 from stuggi/pin_golangci
[golangci] pin to v1.64.8
2 parents 279d405 + 12f77cb commit e9964a1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ GINKGO ?= $(LOCALBIN)/ginkgo
2020
## Tool Versions
2121
CONTROLLER_TOOLS_VERSION ?= v0.14.0
2222
GOTOOLCHAIN_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.
2526
ENVTEST_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
124125
golangci: 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

0 commit comments

Comments
 (0)