ci: run 'cargo outdated' in scheduled jobs

Automatically detect if a crate we are directly using is outdated.
This commit is contained in:
Guillaume Desmottes 2020-04-10 12:27:38 +02:00
parent 62c0f5ef42
commit 669bf98128

View file

@ -153,3 +153,13 @@ audit:
script: script:
- cargo install --force cargo-audit - cargo install --force cargo-audit
- cargo audit --deny-warnings - 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