From ed39e8480b6c5324312b9e5f993cf2c5ff703c54 Mon Sep 17 00:00:00 2001 From: Alper Rifat Ulucinar Date: Mon, 11 Mar 2024 17:15:44 +0300 Subject: [PATCH] Improve lint make target documentation Signed-off-by: Alper Rifat Ulucinar --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index b64927d4a6..2e57cd560c 100644 --- a/Makefile +++ b/Makefile @@ -352,6 +352,9 @@ lint.done: delete-build-tags build-lint-cache: $(GOLANGCILINT) @$(INFO) Running golangci-lint with the analysis cache building phase. + @# we run the initial analysis cache build phase using the relatively + @# smaller API group "account", to keep the memory requirements at a + @# minimum. @(BUILDTAGGER_DOWNLOAD_URL=$(BUILDTAGGER_DOWNLOAD_URL) ./scripts/tag.sh && \ (([[ "${SKIP_LINTER_ANALYSIS}" == "true" ]] && $(OK) "Skipping analysis cache build phase because it's already been populated") && \ [[ "${SKIP_LINTER_ANALYSIS}" == "true" ]] || $(GOLANGCILINT) run -v --build-tags account,configregistry,configprovider,linter_run -v --concurrency 1 --disable-all --exclude '.*')) || $(FAIL)