From 9ec605ea83e442877de70f9d2b7a6ce975dad22d Mon Sep 17 00:00:00 2001 From: Seth Hoenig Date: Mon, 14 Feb 2022 16:54:24 -0600 Subject: [PATCH] build: allow golangci-lint to use more than 1 core Since switching to `golangci-lint` we have set the `-j 1` flag, which restricts the tool to using 1 CPU thread. This PR removes the flag so `make check` takes less time on good computers. --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 1a0c34638..50b84edc0 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -151,7 +151,7 @@ $(git-dir)/hooks/%: dev/hooks/% .PHONY: check check: ## Lint the source code @echo "==> Linting source code..." - @golangci-lint run -j 1 + @golangci-lint run @echo "==> Linting hclog statements..." @hclogvet .