From 281aad224352d0dd39a89735a5217442b46075a2 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 21 Nov 2019 13:45:36 +0530 Subject: [PATCH] ci: run 'cargo outdated' in scheduled jobs Automatically detect if a crate we are directly using is outdated. --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 834f59c3..d3bc0cc9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -113,3 +113,13 @@ audit: script: - cargo install --force cargo-audit - cargo audit --deny-warnings + +outdated: + extends: '.tarball_setup' + image: "rust:slim-buster" + stage: 'extras' + only: + - schedules + script: + - cargo install --force --git https://github.com/kbknapp/cargo-outdated + - cargo outdated --root-deps-only --exit-code 1 -v