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

Commit

Permalink
Merge pull request #13 from openSUSE/circle-go-sum
Browse files Browse the repository at this point in the history
Use go.sum for CircleCI cache
  • Loading branch information
rhatdan committed Jun 25, 2019
2 parents 82dc286 + 8b94c91 commit 4754b9a
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 4754b9a

Please sign in to comment.