Improve CircleCI dependency caching

This commit is contained in:
Greg Linton 2018-07-02 14:23:29 -06:00
parent 56ea2eb57b
commit 9bc63c2f7a
1 changed files with 2 additions and 2 deletions

View File

@ -16,11 +16,11 @@ jobs:
steps:
- checkout
- restore_cache:
key: vendor-{{ .Branch }}-{{ checksum "Gopkg.lock" }}
key: vendor-{{ checksum "Gopkg.lock" }}
- run: 'make deps'
- save_cache:
name: 'vendored deps'
key: vendor-{{ .Branch }}-{{ checksum "Gopkg.lock" }}
key: vendor-{{ checksum "Gopkg.lock" }}
paths:
- './vendor'
- persist_to_workspace: