ci: make clippy warnings fatal

This commit is contained in:
Guillaume Desmottes 2020-04-21 11:44:49 +02:00
parent 575d3534b1
commit 15d863a26c

View file

@ -103,7 +103,7 @@ clippy:
stage: 'extras'
script:
- rustup component add clippy-preview
- cargo clippy --color=always --all --all-features --all-targets -- -A clippy::redundant_pattern_matching -A clippy::single_match -A clippy::cast_lossless
- cargo clippy --color=always --all --all-features --all-targets -- -A clippy::redundant_pattern_matching -A clippy::single_match -A clippy::cast_lossless -D warnings
audit:
extends: '.tarball_setup'