ci: Fix nightly return status

This commit is contained in:
Jonas Platte 2021-05-11 13:49:24 +02:00
parent dd940f810e
commit 0beeb6ef9b
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -55,6 +55,6 @@ impl CiTask {
fn build_nightly(&self) -> xshell::Result<()> {
let fmt_res = cmd!("rustup run nightly cargo fmt -- --check").run();
let clippy_res = cmd!("rustup run nightly cargo ruma-clippy -D warnings").run();
fmt_res.or(clippy_res)
fmt_res.and(clippy_res)
}
}