Skip to content

Commit 4c84664

Browse files
authored
Switch Clippy runner on CI (#156)
See actions-rs/clippy-check#2 (comment).
1 parent e5edfcb commit 4c84664

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ jobs:
2525
shopt -s globstar
2626
rustfmt **/*.rs --check
2727
28-
- uses: actions-rs/clippy-check@v1
28+
- uses: giraffate/clippy-action@v1
2929
with:
30-
token: ${{ secrets.GITHUB_TOKEN }}
31-
args: -- -D clippy::pedantic -D clippy::all
30+
clippy_flags: -- -D clippy::pedantic -D clippy::all
3231

3332
- name: Build
3433
run: cargo build

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44
### Added
55
- The sponsor button is now shown on the repository page on GitHub.
66

7+
### Changed
8+
- CI now uses `giraffate/clippy-action@` instead of `actions-rs/clippy-check` for Clippy check.
9+
710
### Fixed
811
- The path to the workflow status is fixed.
12+
- Removed an outdated lint `unaligned_references`.
913

1014
## 0.9.1 - 2022-09-09
1115
### Added

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
non_ascii_idents,
4949
private_doc_tests,
5050
single_use_lifetimes,
51-
unaligned_references,
5251
unreachable_pub,
5352
unused_crate_dependencies,
5453
unused_extern_crates,

0 commit comments

Comments
 (0)