1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-13 00:07:59 +02:00

add cache based on Gopkg.lock checksum

This commit is contained in:
Anthony HAMON 2018-08-28 21:28:55 +02:00
parent 66e5dacf5e
commit dac7c90483

View File

@ -9,7 +9,7 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- v1-pkg-cache - pkg-cache-{{ checksum "Gopkg.lock" }}
- run: - run:
name: Run gofmt -s name: Run gofmt -s
command: | command: |
@ -31,7 +31,7 @@ jobs:
command: | command: |
bash <(curl -s https://codecov.io/bash) bash <(curl -s https://codecov.io/bash)
- save_cache: - save_cache:
key: v1-pkg-cache key: pkg-cache-{{ checksum "Gopkg.lock" }}
paths: paths:
- "/go/pkg" - "/go/pkg"