Improved lint cache

This commit is contained in:
Syrus 2019-01-18 11:59:31 -08:00
parent aeb2ce070f
commit 06d6913b3e

View File

@ -20,6 +20,9 @@ jobs:
command: | command: |
rustup component add rustfmt rustup component add rustfmt
rustup component add clippy rustup component add clippy
- run:
name: Execute lints
command: make lint
- save_cache: - save_cache:
paths: paths:
- /usr/local/cargo/registry - /usr/local/cargo/registry
@ -27,9 +30,6 @@ jobs:
- target/debug/build - target/debug/build
- target/debug/deps - target/debug/deps
key: lint-{{ arch }}-{{ checksum "Cargo.lock" }} key: lint-{{ arch }}-{{ checksum "Cargo.lock" }}
- run:
name: Execute lints
command: make lint
test: test:
docker: docker: