Update nightly CI
This commit is contained in:
parent
527cc4b91c
commit
5cde37aa9d
@ -17,7 +17,19 @@ tasks:
|
|||||||
cargo fmt --all -- --check
|
cargo fmt --all -- --check
|
||||||
fmt_exit=$?
|
fmt_exit=$?
|
||||||
|
|
||||||
cargo clippy --all --all-targets --all-features --quiet -- -D warnings
|
pushd ruma
|
||||||
clippy_exit=$?
|
|
||||||
|
|
||||||
exit $(( $fmt_exit || $clippy_exit ))
|
cargo clippy --all-targets --all-features --quiet -- -D warnings
|
||||||
|
clippy_1_exit=$?
|
||||||
|
|
||||||
|
popd
|
||||||
|
|
||||||
|
# Need to run clippy separately on ruma-client to not enable conflicting
|
||||||
|
# features with --all-features.
|
||||||
|
pushd ruma-client
|
||||||
|
|
||||||
|
cargo clippy --all-targets --quiet -- -D warnings
|
||||||
|
|
||||||
|
popd
|
||||||
|
|
||||||
|
exit $(( $fmt_exit || $clippy_1_exit || $clippy_2_exit ))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user