From 16b7c2b46490d08fa83e61e0c390254e0ac4feab Mon Sep 17 00:00:00 2001 From: Jerens Lensun Date: Fri, 15 Aug 2025 16:43:38 +0800 Subject: [PATCH 1/2] ci: integrate github inline annotation for clippy Signed-off-by: Jerens Lensun --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d6336e16..f59a0a1a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -71,7 +71,9 @@ jobs: run: cargo fmt --all -- --check - name: Run clippy - run: cargo clippy --all-features --all-targets -- -D warnings + uses: servo/actions/cargo-annotation@main + with: + cargo-command: clippy --all-features --all-targets -- -D warnings build_result: name: Result From edee035ef44c4ad23e0584faf720c8b6459a5c5d Mon Sep 17 00:00:00 2001 From: Jerens Lensun Date: Fri, 15 Aug 2025 17:00:04 +0800 Subject: [PATCH 2/2] ci: remove -D warnings flags Signed-off-by: Jerens Lensun --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f59a0a1a..4ebf60c1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -73,7 +73,7 @@ jobs: - name: Run clippy uses: servo/actions/cargo-annotation@main with: - cargo-command: clippy --all-features --all-targets -- -D warnings + cargo-command: clippy --all-features --all-targets build_result: name: Result