Verified Commit aa1f0195 authored by Orhun Parmaksız's avatar Orhun Parmaksız
Browse files

ci: run cargo-audit in the test stage

parent 61ca4450
Pipeline #15211 passed with stage
in 29 seconds
......@@ -2,7 +2,6 @@ image: "rust:latest"
stages:
- test
- audit
variables:
CARGO_HOME: "${CI_PROJECT_DIR}/.cargo"
......@@ -14,17 +13,13 @@ cache:
test:
stage: test
before_script:
- cargo install cargo-audit
artifacts:
paths:
- target/release/gluebuddy
script:
- cargo build --release --locked
- cargo test --release --locked
audit:
stage: audit
before_script:
- cargo install cargo-audit
script:
- cargo audit
--ignore RUSTSEC-2020-0159 # `chrono` localtime_r segfault
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment