From 82841555f2a82783d5a5bc411c0546853d535f26 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 10 Oct 2019 14:40:09 +0200 Subject: [PATCH] ci: run 'cargo audit' in scheduled jobs --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c0630dad..a5df8584 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -89,3 +89,13 @@ clippy: script: - 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 + +audit: + extends: '.tarball_setup' + image: "rust:slim-buster" + stage: 'extras' + only: + - schedules + script: + - cargo install cargo-audit + - cargo audit --deny-warnings