Improve CircleCI dependency caching
This commit is contained in:
parent
56ea2eb57b
commit
9bc63c2f7a
|
@ -16,11 +16,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: vendor-{{ .Branch }}-{{ checksum "Gopkg.lock" }}
|
key: vendor-{{ checksum "Gopkg.lock" }}
|
||||||
- run: 'make deps'
|
- run: 'make deps'
|
||||||
- save_cache:
|
- save_cache:
|
||||||
name: 'vendored deps'
|
name: 'vendored deps'
|
||||||
key: vendor-{{ .Branch }}-{{ checksum "Gopkg.lock" }}
|
key: vendor-{{ checksum "Gopkg.lock" }}
|
||||||
paths:
|
paths:
|
||||||
- './vendor'
|
- './vendor'
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
|
|
Loading…
Reference in New Issue