enable CI cache

feat/vaults
Tomáš Mládek 2021-03-15 22:43:14 +01:00
parent e38bab5957
commit d08664cea5
1 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,7 @@
variables: variables:
RUST_IMAGE: "rust:latest" RUST_IMAGE: "rust:latest"
NODE_IMAGE: "node:lts" NODE_IMAGE: "node:lts"
CARGO_HOME: $CI_PROJECT_DIR/cargo
stages: stages:
- lint - lint
@ -8,6 +9,13 @@ stages:
- test - test
- release - release
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- target
- cargo
- ui/node_modules
lint:backend: lint:backend:
stage: lint stage: lint
image: $RUST_IMAGE image: $RUST_IMAGE