diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f809e595..4a29b7b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,7 +44,7 @@ lint: only: - branches script: - - make lint + - env GOMAXPROCS=$(( ${CI_TAG_CPU} / 2 )) make lint tags: - medium diff --git a/Makefile b/Makefile index a9997d18..57dea464 100644 --- a/Makefile +++ b/Makefile @@ -231,6 +231,7 @@ lint-changelog: lint-golang: which golangci-lint || $(MAKE) install-linter + $(info linting with GOMAXPROCS=${GOMAXPROCS}) golangci-lint run ./... updates: install-go-mod-outdated