From f68bd37acf9064b948352ab52c201ec11208c41b Mon Sep 17 00:00:00 2001 From: Aditya Manthramurthy Date: Thu, 6 Jan 2022 14:19:51 -0800 Subject: [PATCH] Do not clean golangci-lint's cache (#14042) - This speeds up running the linters during local development. With a fully cached run, linter completes in 8 seconds. - Any caching issues if present would be local and would not impact CI anyway which always starts with a clean state. --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index e3979f76c..a195405a8 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,6 @@ check-gen: ## check for updated autogenerated files lint: ## runs golangci-lint suite of linters @echo "Running $@ check" - @${GOPATH}/bin/golangci-lint cache clean @${GOPATH}/bin/golangci-lint run --build-tags kqueue --timeout=10m --config ./.golangci.yml check: test