From 5a790be0670cf47a780ef51e71e11f898602a34c 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 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61a68624..66ea4522 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,6 +66,9 @@ jobs: check: runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write steps: - uses: actions/checkout@v1 with: @@ -86,10 +89,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 --features full-async test: needs: