summaryrefslogtreecommitdiffstats
path: root/.circleci/config.yml
diff options
context:
space:
mode:
authorAnthony HAMON <hamon.anth@gmail.com>2018-08-28 21:28:55 +0200
committerAnthony HAMON <hamon.anth@gmail.com>2018-08-29 12:03:32 +0200
commitdac7c90483705a4839fb0c31ecad5c806fcc43d4 (patch)
treecc129d1e7725ae3e5e9ded50bf1d1c27e4efc31a /.circleci/config.yml
parent66e5dacf5ea8e1474ec7470ffa2c0f7865947a1c (diff)
add cache based on Gopkg.lock checksum
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index d60eadaab..16bafdb58 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -9,7 +9,7 @@ jobs:
- checkout
- restore_cache:
keys:
- - v1-pkg-cache
+ - pkg-cache-{{ checksum "Gopkg.lock" }}
- run:
name: Run gofmt -s
command: |
@@ -31,7 +31,7 @@ jobs:
command: |
bash <(curl -s https://codecov.io/bash)
- save_cache:
- key: v1-pkg-cache
+ key: pkg-cache-{{ checksum "Gopkg.lock" }}
paths:
- "/go/pkg"