ci: run 'cargo audit' in scheduled jobs

This commit is contained in:
Guillaume Desmottes 2019-10-10 14:40:09 +02:00
parent 5def817f75
commit 82841555f2

View file

@ -89,3 +89,13 @@ clippy:
script: script:
- rustup component add clippy-preview - rustup component add clippy-preview
- cargo clippy --color=always --all --all-features -- -A clippy::redundant_pattern_matching -A clippy::single_match -A clippy::cast_lossless - cargo clippy --color=always --all --all-features -- -A clippy::redundant_pattern_matching -A clippy::single_match -A clippy::cast_lossless
audit:
extends: '.tarball_setup'
image: "rust:slim-buster"
stage: 'extras'
only:
- schedules
script:
- cargo install cargo-audit
- cargo audit --deny-warnings