mirror of
https://github.com/gmemstr/sliproad.git
synced 2024-09-20 00:21:15 +01:00
Tweaking cache for CI
This commit is contained in:
parent
2ab4de5526
commit
0902f8a429
|
@ -1,4 +1,4 @@
|
||||||
version: 2.1
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
|
@ -7,12 +7,12 @@ jobs:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
- go-mod-{{ checksum "go.sum" }}-v1
|
- go-mod-{{ checksum "go.sum" }}-v2
|
||||||
- go-mod-{{ checksum "go.sum" }}
|
- go-mod-{{ checksum "go.sum" }}
|
||||||
- go-mod
|
- go-mod
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
- upx-3.96
|
- upx-3.96-v2
|
||||||
- run:
|
- run:
|
||||||
name: Install UPX
|
name: Install UPX
|
||||||
command: |
|
command: |
|
||||||
|
@ -29,11 +29,11 @@ jobs:
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: build
|
path: build
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: go-mod-{{ checksum "go.sum" }}-v1
|
key: go-mod-{{ checksum "go.sum" }}-v2
|
||||||
paths:
|
paths:
|
||||||
- /go/pkg/mod
|
- /home/circleci/go/pkg/mod
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: upx-3.96
|
key: upx-3.96-v2
|
||||||
paths:
|
paths:
|
||||||
- /home/circleci/upx
|
- /home/circleci/upx
|
||||||
test:
|
test:
|
||||||
|
@ -43,7 +43,7 @@ jobs:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
- go-mod-{{ checksum "go.sum" }}-v1
|
- go-mod-{{ checksum "go.sum" }}-v2
|
||||||
- go-mod-{{ checksum "go.sum" }}
|
- go-mod-{{ checksum "go.sum" }}
|
||||||
- go-mod
|
- go-mod
|
||||||
- run:
|
- run:
|
||||||
|
|
Loading…
Reference in a new issue