From d4eef44f49b86149e9b01bc4ef22ed818cb5cc56 Mon Sep 17 00:00:00 2001 From: "R.B. Boyer" <4903+rboyer@users.noreply.github.com> Date: Thu, 5 May 2022 12:42:52 -0500 Subject: [PATCH] build: speed up linting by 1.5x (#12908) --- .circleci/config.yml | 4 ++-- .golangci.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2cabe3a11d..beab2b7c3c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -175,7 +175,7 @@ jobs: default: "" docker: - image: *GOLANG_IMAGE - resource_class: large + resource_class: xlarge environment: GOTAGS: "" # No tags for OSS but there are for enterprise GOARCH: "<>" @@ -191,7 +191,7 @@ jobs: - run: name: lint command: &lintcmd | - golangci-lint run --build-tags="$GOTAGS" -v --concurrency 2 + golangci-lint run --build-tags="$GOTAGS" -v - run: name: lint api working_directory: api diff --git a/.golangci.yml b/.golangci.yml index 1663c96707..40936a6898 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -69,3 +69,4 @@ linters-settings: run: timeout: 10m + concurrency: 4