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

ci: run cargo-audit

parent 11091ee1
Pipeline #15175 passed with stages
in 1 minute and 30 seconds
...@@ -2,6 +2,7 @@ image: "rust:latest" ...@@ -2,6 +2,7 @@ image: "rust:latest"
stages: stages:
- test - test
- audit
variables: variables:
CARGO_HOME: "${CI_PROJECT_DIR}/.cargo" CARGO_HOME: "${CI_PROJECT_DIR}/.cargo"
...@@ -19,3 +20,11 @@ test: ...@@ -19,3 +20,11 @@ test:
script: script:
- cargo build --release --locked - cargo build --release --locked
- cargo test --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