Skip to content

Commit

Permalink
Split CI test and audit steps
Browse files Browse the repository at this point in the history
  • Loading branch information
threema-danilo committed Apr 25, 2018
1 parent 729d272 commit fec0bdc
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
- v4-cargo-cache-{{ .Branch }}
- v4-cargo-cache
- run: cargo build && cargo test
- run: cargo install --force cargo-audit && cargo audit
- save_cache:
key: v4-cargo-cache-{{ checksum "Cargo.lock" }}
paths:
Expand All @@ -29,3 +28,16 @@ jobs:
paths:
- target
- /usr/local/cargo
audit:
docker:
- image: rust:1.23
steps:
- checkout
- restore_cache:
keys:
- v1-cargo-audit-cache
- run: cargo install --force cargo-audit && cargo audit
- save_cache:
key: v1-cargo-audit-cache
paths:
- /usr/local/cargo

0 comments on commit fec0bdc

Please sign in to comment.