Skip to content

Commit 05640dc

Browse files
Merge pull request #25772 from kolyshkin/cache-golangci
cirrus: save/restore golangci-lint cache for linux
2 parents e5daf60 + fbb118e commit 05640dc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.cirrus.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@ validate-source_task:
120120
fi
121121
# Standard setup stage call, used by nearly every task in CI.
122122
setup_script: &setup '$GOSRC/$SCRIPT_BASE/setup_environment.sh'
123+
golangci-lint_cache:
124+
folder: /root/.cache/golangci-lint
125+
reupload_on_changes: true
126+
fingerprint_script:
127+
- go version
128+
- grep GOLANGCI_LINT_VERSION Makefile | head -1
123129
# Standard main execution stage call, used by nearly every task in CI.
124130
main_script: &main '/usr/bin/time --verbose --output="$STATS_LOGFILE" $GOSRC/$SCRIPT_BASE/runner.sh'
125131

0 commit comments

Comments
 (0)