From 8cdb402b83e3ddea66d7510dfb5077c628e72d5f Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Wed, 29 Oct 2025 19:46:25 +0000 Subject: [PATCH] CI: Migrate from `actions-rs/clippy-check` to `auguwu/clippy-action` --- .github/workflows/lints.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/lints.yml b/.github/workflows/lints.yml index 0ddaf467..35709a93 100644 --- a/.github/workflows/lints.yml +++ b/.github/workflows/lints.yml @@ -11,23 +11,27 @@ jobs: clippy: name: Clippy (MSRV) runs-on: ubuntu-latest + permissions: + checks: write steps: - uses: actions/checkout@v4 with: persist-credentials: false - name: Run clippy - uses: actions-rs/clippy-check@v1 + uses: auguwu/clippy-action@94a9ff2f6920180b89e5c03d121d0af04a9d3e03 # 1.4.0 with: - name: Clippy (MSRV) token: ${{ secrets.GITHUB_TOKEN }} - args: > + check-args: > + --all-features --all-targets - -- + args: > -D warnings clippy-beta: name: Clippy (beta) runs-on: ubuntu-latest + permissions: + checks: write continue-on-error: true steps: - uses: actions/checkout@v4 @@ -38,17 +42,17 @@ jobs: with: components: clippy - run: rustup override set "${TOOLCHAIN}" + shell: sh env: TOOLCHAIN: ${{steps.toolchain.outputs.name}} - name: Run Clippy (beta) - uses: actions-rs/clippy-check@v1 - continue-on-error: true + uses: auguwu/clippy-action@94a9ff2f6920180b89e5c03d121d0af04a9d3e03 # 1.4.0 with: - name: Clippy (beta) token: ${{ secrets.GITHUB_TOKEN }} - args: > + check-args: > + --all-features --all-targets - -- + args: > -W clippy::all doc-links: