Skip to content

Commit

Permalink
Merge branch 'rust-ci-cache' into 'master'
Browse files Browse the repository at this point in the history
Add CI cache setting

Closes ricosjp#4

See merge request ricos/truck/ruststep!8
  • Loading branch information
termoshtt committed Nov 13, 2020
2 parents a71470a + 78eec77 commit 46cd4b7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
image: rust:latest

cache:
key: cargo
paths:
- target/
- cargo/
variables:
CARGO_HOME: $CI_PROJECT_DIR/cargo

stages:
- test
- pages
Expand Down

0 comments on commit 46cd4b7

Please sign in to comment.