Save maven deps in cache in CI
This commit is contained in:
parent
4f016ce038
commit
74f7c88db2
1 changed files with 5 additions and 1 deletions
|
|
@ -12,11 +12,15 @@ jobs:
|
|||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1-dependencies-{{ checksum "project.clj" }}-{{ checksum "deps.edn" }}
|
||||
- v1-dependencies-{{ checksum "deps.edn" }}
|
||||
# fallback to using latest cache if no exact match is found
|
||||
- v1-dependencies-
|
||||
- run: |
|
||||
script/test
|
||||
- save_cache:
|
||||
paths:
|
||||
- ~/.m2
|
||||
key: v1-dependencies-{{ checksum "deps.edn" }}
|
||||
workflows:
|
||||
version: 2
|
||||
ci:
|
||||
|
|
|
|||
Loading…
Reference in a new issue