ci: Use rustup run for cargo-sort for consistency
This commit is contained in:
parent
3878476317
commit
e1ab817e0b
@ -55,7 +55,7 @@ impl CiTask {
|
|||||||
fn build_nightly(&self) -> xshell::Result<()> {
|
fn build_nightly(&self) -> xshell::Result<()> {
|
||||||
let fmt_res = cmd!("rustup run nightly cargo fmt -- --check").run();
|
let fmt_res = cmd!("rustup run nightly cargo fmt -- --check").run();
|
||||||
let clippy_res = cmd!("rustup run nightly cargo ruma-clippy -D warnings").run();
|
let clippy_res = cmd!("rustup run nightly cargo ruma-clippy -D warnings").run();
|
||||||
let sort_res = cmd!("cargo sort --workspace --grouped --check").run();
|
let sort_res = cmd!("rustup run nightly cargo sort --workspace --grouped --check").run();
|
||||||
|
|
||||||
fmt_res.and(clippy_res).and(sort_res)
|
fmt_res.and(clippy_res).and(sort_res)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user