From d506d5ad2762c6225966ce2d04421b14a59774a9 Mon Sep 17 00:00:00 2001 From: AramJonghu Date: Sat, 16 May 2026 01:42:30 +0200 Subject: [PATCH] not fmt, clippy linter --- .gitea/workflows/lint-rust.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/lint-rust.yml b/.gitea/workflows/lint-rust.yml index e1d1ac7..54e3301 100644 --- a/.gitea/workflows/lint-rust.yml +++ b/.gitea/workflows/lint-rust.yml @@ -18,13 +18,13 @@ jobs: git \ cargo \ rust \ - rustfmt + rust-clippy - - name: Rustfmt + - name: Clippy run: | if [ -n "$(find . -name "Cargo.toml" -print -quit)" ]; then find . -name "Cargo.toml" -print0 | while IFS= read -r -d '' manifest; do - cargo fmt --check --manifest-path "$manifest" + cargo clippy --manifest-path "$manifest" -- -D warnings done elif [ -n "$(find . -name "*.rs" -print -quit)" ]; then echo "Rust files found but no Cargo.toml"