archive
/
md-pdf-rs
Archived
1
Fork 0

Add cache

This commit is contained in:
Jake Howard 2017-08-15 22:36:58 +01:00
parent 49d5a81642
commit 3da3cc52d9
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 7 additions and 0 deletions

View File

@ -7,7 +7,14 @@ jobs:
working_directory: ~/md-pdf
steps:
- checkout
- restore_cache:
keys:
- cargo
- run: which rustfmt || cargo install rustfmt
- save_cache:
key: cargo
paths:
- ~/.cargo
- run: ./scripts/install-deps.sh
- run: cargo fmt -- --write-mode=diff
- run: cargo build