From 67dbcb343f588e93dc4f804a2000097bdc1654e5 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 4 Dec 2020 14:32:00 +0100 Subject: Add cargo-deny checks in debian CI script Signed-off-by: Matthias Beyer --- .builds/debian.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.builds/debian.yml') 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 -- cgit v1.2.3