From 77f6a2d06789a26eae2626908fc9461867acbf8a Mon Sep 17 00:00:00 2001 From: Gavin-Niederman Date: Sat, 21 Oct 2023 16:39:59 -0700 Subject: [PATCH] fix: change to giraffate lint action --- .github/workflows/rust.yml | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index dfa568e6..1da706c5 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -49,19 +49,12 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - name: Setup | Checkout - uses: actions/checkout@v2 - - - name: Setup | Toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: nightly - components: clippy - override: true - - - name: Clippy - uses: actions-rs/clippy-check@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --all-features + - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@nightly + with: + components: clippy + - uses: giraffate/clippy-action@v1 + with: + reporter: 'github-pr-check' + github_token: ${{ secrets.GITHUB_TOKEN }} + clippy_flags: --all-targets --all-features \ No newline at end of file