Skip to content
This repository has been archived by the owner on Aug 28, 2020. It is now read-only.

Commit

Permalink
Use go.sum for CircleCI cache
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Grunert <[email protected]>
  • Loading branch information
saschagrunert committed Jun 25, 2019
1 parent 6a3e951 commit 8b94c91
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ jobs:
- checkout
- restore_cache:
keys:
- v1-build-{{ checksum "vendor.conf" }}
- v1-build-{{ checksum "go.sum" }}
- run:
name: build
command: make
- save_cache:
key: v1-build-{{ checksum "vendor.conf" }}
key: v1-build-{{ checksum "go.sum" }}
paths:
- *gocache
- persist_to_workspace:
Expand All @@ -70,12 +70,12 @@ jobs:
at: .
- restore_cache:
keys:
- v1-unit-tests-{{ checksum "vendor.conf" }}
- v1-unit-tests-{{ checksum "go.sum" }}
- run:
name: unit tests
command: make test-unit
- save_cache:
key: v1-unit-tests-{{ checksum "vendor.conf" }}
key: v1-unit-tests-{{ checksum "go.sum" }}
paths:
- *gocache

Expand Down

0 comments on commit 8b94c91

Please sign in to comment.