From 4c8466445200570af04ebead7fb9a2ed813246f2 Mon Sep 17 00:00:00 2001 From: Hiroki Tokunaga Date: Wed, 19 Jul 2023 20:46:56 +0900 Subject: [PATCH] Switch Clippy runner on CI (#156) See https://github.com/actions-rs/clippy-check/issues/2#issuecomment-1625984127. --- .github/workflows/rust.yml | 5 ++--- CHANGELOG.md | 4 ++++ src/lib.rs | 1 - 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 82495814..7c7acda6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -25,10 +25,9 @@ jobs: shopt -s globstar rustfmt **/*.rs --check - - uses: actions-rs/clippy-check@v1 + - uses: giraffate/clippy-action@v1 with: - token: ${{ secrets.GITHUB_TOKEN }} - args: -- -D clippy::pedantic -D clippy::all + clippy_flags: -- -D clippy::pedantic -D clippy::all - name: Build run: cargo build diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d01389a..ae36e031 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,12 @@ ### Added - The sponsor button is now shown on the repository page on GitHub. +### Changed +- CI now uses `giraffate/clippy-action@` instead of `actions-rs/clippy-check` for Clippy check. + ### Fixed - The path to the workflow status is fixed. +- Removed an outdated lint `unaligned_references`. ## 0.9.1 - 2022-09-09 ### Added diff --git a/src/lib.rs b/src/lib.rs index a7b0b152..a64afa08 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -48,7 +48,6 @@ non_ascii_idents, private_doc_tests, single_use_lifetimes, - unaligned_references, unreachable_pub, unused_crate_dependencies, unused_extern_crates,