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: 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: