Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit df88cf0

Browse files
committed
Re-use golangci-lint and go build cache between runs
1 parent 37723c4 commit df88cf0

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,16 @@ jobs:
1313
key: go-modules-{{ checksum "go.mod" }}
1414
paths:
1515
- /go/pkg/mod
16+
- restore_cache:
17+
keys:
18+
- golangci-lint-{{ .Branch }}
19+
- golangci-lint-develop
1620
- run: golangci-lint run
21+
- save_cache:
22+
key: golangci-lint-{{ .Branch }}
23+
paths:
24+
- ~/.cache/golangci-lint
25+
- ~/.cache/go-build
1726
verify-build:
1827
parameters:
1928
os:

0 commit comments

Comments
 (0)