Skip to content

Commit

Permalink
Test linter runner analysis cache construction with a concurrency of 2
Browse files Browse the repository at this point in the history
Signed-off-by: Alper Rifat Ulucinar <[email protected]>
  • Loading branch information
ulucinar committed Mar 12, 2024
1 parent ed39e84 commit 890f5fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,8 @@ build-lint-cache: $(GOLANGCILINT)
@# 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)
(([[ "${SKIP_LINTER_ANALYSIS}" == "true" ]] && $(OK) "Analysis cache will be populated") && \
$(GOLANGCILINT) cache clean && $(GOLANGCILINT) cache status && $(GOLANGCILINT) run -v --build-tags account,configregistry,configprovider,linter_run -v --concurrency 2 --disable-all --exclude '.*')) || $(FAIL)
@$(OK) Running golangci-lint with the analysis cache building phase.

delete-build-tags:
Expand Down

0 comments on commit 890f5fb

Please sign in to comment.