File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ parameters:
77 path :
88 description : " Path to cache."
99 type : string
10- default : " /home/circleci/ .cache/go-build"
10+ default : ~/ .cache/go-build
1111steps :
1212 - save_cache :
1313 key : v1-<< parameters.key >>-go-build-{{ .Environment.CIRCLE_JOB }}-{{ arch }}-{{ checksum "go.sum" }}-{{ epoch | round "72h" }}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ parameters:
77 path :
88 description : " Path to cache."
99 type : string
10- default : " /home/circleci/ .cache/golangci-lint"
10+ default : ~/ .cache/golangci-lint
1111steps :
1212 - save_cache :
1313 key : v1-<< parameters.key >>-golangci-lint-{{ .Environment.CIRCLE_JOB }}-{{ arch }}-{{ checksum "go.sum" }}-{{ epoch | round "72h" }}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ parameters:
88 description : " Path to cache."
99 type : string
1010 # /home/circleci/go is the GOPATH in the cimg/go Docker image
11- default : " /home/circleci/ go/pkg/mod"
11+ default : ~/ go/pkg/mod
1212steps :
1313 - save_cache :
1414 key : v1-<< parameters.key >>-go-mod-{{ arch }}-{{ checksum "go.sum" }}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ parameters:
1515 build-path :
1616 description : " Location of go-build cache."
1717 type : string
18- default : " /home/circleci/ .cache/go-build"
18+ default : ~/ .cache/go-build
1919 mod :
2020 description : |
2121 Whether to use go module cache. If most of your dependencies are public, it is faster to use the public
@@ -25,15 +25,15 @@ parameters:
2525 mod-path :
2626 description : " Location of go module cache."
2727 type : string
28- default : " /home/circleci/ go/pkg/mod"
28+ default : ~/ go/pkg/mod
2929 golangci-lint :
3030 description : " Whether to use golangci-lint cache. Useful only in steps with linting, so defaults to false."
3131 type : boolean
3232 default : false
3333 golangci-lint-path :
3434 description : " Location of golangci-lint cache."
3535 type : string
36- default : " /home/circleci/ .cache/golangci-lint"
36+ default : ~/ .cache/golangci-lint
3737steps :
3838 - when :
3939 condition : << parameters.build >>
You can’t perform that action at this time.
0 commit comments