Update tests.yml

This commit is contained in:
Erèbe - Romain Gerard
2022-03-25 13:38:54 +01:00
committed by GitHub
parent 11f1867000
commit 4856c6a008

View File

@@ -36,7 +36,7 @@ jobs:
sccache --show-stats
echo "########## LINTER ##########"
cargo fmt --all -- --check --color=always || (echo "Use cargo fmt to format your code"; exit 1)
RUSTFLAGS="--deny warnings" cargo check || (echo "Solve your warnings to continue"; exit 1)
RUSTFLAGS="--deny warnings" cargo clippy --all --all-features --lib || (echo "Solve your clippy warnings to continue"; exit 1)
echo "########## START BUILD ##########"
cargo build --all-features
sccache --show-stats