From 669bf9812848258ac19e78c26639533dcdd17666 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 10 Apr 2020 12:27:38 +0200 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 d9659a42c..adaeaa234 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -153,3 +153,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