From 77bdf33d85dd8c6645929ca7ca05df5fe747801a Mon Sep 17 00:00:00 2001 From: K Date: Sun, 26 Feb 2023 13:36:29 +0500 Subject: [PATCH] CI: Start using skat/action-clippy instead of actions-rs/clippy-check Because actions-rs/clippy-check is unmaintained and has serious issues we switched to skat/action-clippy. See also https://github.com/actions-rs/clippy-check/issues/162 --- .github/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7215d257..a937dbe8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,6 +66,8 @@ jobs: check: runs-on: ubuntu-latest + permissions: + pull-requests: write steps: - uses: actions/checkout@v1 with: @@ -86,10 +88,12 @@ jobs: with: path: target key: ${{ runner.os }}-build-rust_nightly-check-${{ hashFiles('**/Cargo.lock') }} - - uses: actions-rs/clippy-check@v1 + - uses: sksat/action-clippy@main with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --all --all-features + github_token: ${{ secrets.GITHUB_TOKEN }} + reporter: github-check + fail_on_error: true + clippy_flags: --all --all-targets --features full-async test: needs: