use --all-targets which is the same as before AND --lib.

Just to be future proof, lib should not matter ATM, but might in the future when we produce libs that are not used in any binary target
This commit is contained in:
Marcel 2021-01-14 08:16:25 +00:00
parent 6390e758d4
commit 0826707b0d

View File

@ -4,7 +4,7 @@ code-quality:
stage: check
script:
- ln -s /dockercache/cache-all target
- cargo clippy --tests --examples --benches --bins --locked -- -D warnings
- cargo clippy --all-targets --locked -- -D warnings
- cargo fmt --all -- --check
security: