From e2e69af4382486a5a1e79e7c87a014763ddb8112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ramon=20R=C3=BCttimann?= Date: Thu, 23 Feb 2023 10:35:44 +0100 Subject: [PATCH] ci: move module download to separate step --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b52e598..5a5af07 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -52,9 +52,10 @@ jobs: # saving & restoring the module cache takes almost 6x longer than simply fetching the modules... #- go/mod-download-cached - restore-build-cache + - go/mod-download - run: command: | - golangci-lint run ./... + golangci-lint run -v --timeout=2m ./... environment: # we re-use the Go build cache as our lint-cache too. GOLANGCI_LINT_CACHE: /home/circleci/.cache/go-build