Skip to content

Commit 0211253

Browse files
committed
fix: clippy
1 parent bdea5c5 commit 0211253

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

crates/tools/dev/src/main.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ fn check() {
5656
}
5757

5858
fn clippy() {
59-
run("cargo", &["clippy", "--", "-D", "clippy::pedantic"]);
59+
run("cargo", &["clippy", "--", "-D", "clippy::all"]);
6060
}
6161

6262
fn fmt() {
@@ -107,10 +107,8 @@ fn build(target: &str) {
107107
}
108108

109109
fn test(target: Option<String>) {
110-
if env::var("GITHUB_ACTIONS").is_ok() {
111-
if cfg!(target_os = "linux") {
112-
run("sudo", &["apt", "install", "musl-tools"]);
113-
}
110+
if env::var("GITHUB_ACTIONS").is_ok() && cfg!(target_os = "linux") {
111+
run("sudo", &["apt", "install", "musl-tools"]);
114112
}
115113

116114
let Some(target) = target else {

0 commit comments

Comments
 (0)