Skip to content

Commit

Permalink
Merge pull request #5100 from justinsb/fixlint
Browse files Browse the repository at this point in the history
Fix lint task in CI
  • Loading branch information
k8s-ci-robot committed Mar 20, 2023
2 parents ce3e394 + 5dcf0ae commit a2e9682
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile-modules.mk
Expand Up @@ -14,6 +14,7 @@ include $(KUSTOMIZE_ROOT)/Makefile-tools.mk
.PHONY: lint test fix fmt tidy vet build

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

0 comments on commit a2e9682

Please sign in to comment.