From 0826707b0d13ca35fcad907d76f5f115cfc6150e Mon Sep 17 00:00:00 2001 From: Marcel Date: Thu, 14 Jan 2021 08:16:25 +0000 Subject: [PATCH] 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 --- .gitlab/CI/check.gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab/CI/check.gitlab-ci.yml b/.gitlab/CI/check.gitlab-ci.yml index 6cd3dfc639..0459d2ecc3 100644 --- a/.gitlab/CI/check.gitlab-ci.yml +++ b/.gitlab/CI/check.gitlab-ci.yml @@ -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: