Skip to content

Commit a2e9682

Browse files
authored
Merge pull request #5100 from justinsb/fixlint
Fix lint task in CI
2 parents ce3e394 + 5dcf0ae commit a2e9682

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile-modules.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ include $(KUSTOMIZE_ROOT)/Makefile-tools.mk
1414
.PHONY: lint test fix fmt tidy vet build
1515

1616
lint: $(MYGOBIN)/golangci-lint
17+
$(MYGOBIN)/golangci-lint cache clean # Workaround for https://github.com/golangci/golangci-lint/issues/3228
1718
$(MYGOBIN)/golangci-lint \
1819
-c $$KUSTOMIZE_ROOT/.golangci.yml \
1920
--path-prefix $(shell pwd | sed -E 's|(.*\/kustomize)/(.*)|\2|') \

0 commit comments

Comments
 (0)