Evaluate performance of sequential and parallel linting.
@@ -96,6 +96,14 @@ dist:: build
brew::
./scripts/brew.sh "${PROJECT}"
+lint_fast: golangci-lint.ensure
+ golangci-lint run -v ./pkg/... ./sdk/... ./tests/... --timeout 15m
+
+lint_slow: golangci-lint.ensure
+ cd pkg && golangci-lint run -c ../.golangci.yml --timeout 5m
+ cd sdk && golangci-lint run -c ../.golangci.yml --timeout 5m
+ cd tests && golangci-lint run -c ../.golangci.yml --timeout 5m
+
.PHONY: lint_%
lint:: golangci-lint.ensure lint_pkg lint_sdk lint_tests
lint_pkg: lint_deps
