Skip to content

Commit

Permalink
ci: move module download to separate step
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyknows committed Feb 23, 2023
1 parent 67afc02 commit e2e69af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2e69af

Please sign in to comment.