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 2019-11-21 13:45:36 +05:30
parent 53194a64f3
commit 281aad2243

View file

@ -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