diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2019-09-07 10:42:07 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2019-09-07 10:42:07 +0300 |
commit | 83cc8104a135a4ef79fcfcadce382eec1a2b08d5 (patch) | |
tree | 5f86483b7f38acb7dc99cdc3434f6d9d5f26a417 /.gitlab-ci.yml | |
parent | 2c7775125a5b428ca765ede3c8c41bb9b52017ef (diff) |
Fix or silence all remaining clippy warnings
Also ignore common errors we don't care about when running clippy and
make clippy errors fail the CI.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e75a54921..d1201bf9d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -85,7 +85,6 @@ clippy: extends: '.tarball_setup' image: "rust:slim" stage: 'extras' - allow_failure: true script: - rustup component add clippy-preview - - cargo clippy --color=always --all --all-features + - cargo clippy --color=always --all --all-features -- -A clippy::redundant_pattern_matching -A clippy::single_match -A clippy::cast_lossless |