We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 214e7f8 commit 6061d9dCopy full SHA for 6061d9d
.circleci/config.yml
@@ -25,7 +25,14 @@ jobs:
25
- restore_cache:
26
keys:
27
- go-getter-modcache-v1-{{ checksum "go.mod" }}
28
- - go-getter-modcache-v1
+
29
+ - run: go mod download
30
31
+ # Save go module cache if the go.mod file has changed
32
+ - save_cache:
33
+ key: go-getter-modcache-v1-{{ checksum "go.mod" }}
34
+ paths:
35
+ - "/go/pkg/mod"
36
37
# check go fmt output because it does not report non-zero when there are fmt changes
38
- run:
@@ -47,12 +54,6 @@ jobs:
47
54
- store_artifacts:
48
55
path: *TEST_RESULTS_PATH
49
56
50
- # Save go module cache if the go.mod file has changed
51
- - save_cache:
52
- key: go-getter-modcache-v1-{{ checksum "go.mod" }}
53
- paths:
- - "/go/pkg/mod"
-
57
workflows:
58
version: 2
59
test-and-build:
0 commit comments