diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-12-04 14:32:00 +0100 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-01-18 12:57:38 +0100 |
commit | 67dbcb343f588e93dc4f804a2000097bdc1654e5 (patch) | |
tree | 717640a31921486aa986e9ad57260b40bb3bc425 | |
parent | 5dae12164e48412e491918a2a094372158fdfa77 (diff) |
Add cargo-deny checks in debian CI script
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | .builds/debian.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.builds/debian.yml b/.builds/debian.yml index 84ad7af..918128a 100644 --- a/.builds/debian.yml +++ b/.builds/debian.yml @@ -7,6 +7,14 @@ packages: - pkg-config tasks: - install: curl https://sh.rustup.rs -sSf | sh -s -- -y + - prepare_lint: | + PATH="$HOME/.cargo/bin:$PATH" cargo install cargo-deny + - lint-licenses: | + cd butido + PATH="$HOME/.cargo/bin:$PATH" cargo deny check licenses + - lint-sources: | + cd butido + PATH="$HOME/.cargo/bin:$PATH" cargo deny check sources - build: | cd butido PATH="$HOME/.cargo/bin:$PATH" cargo build --all --all-features |