Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Commit 4c85b10

Browse files
committed
Run clippy in CI
1 parent 933d556 commit 4c85b10

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ jobs:
2424
- run: cargo check
2525
- run: cargo check --manifest-path binary/Cargo.toml
2626

27+
clippy:
28+
name: Clippy
29+
runs-on: ubuntu-latest
30+
if: github.event_name != 'pull_request'
31+
steps:
32+
- uses: actions/checkout@v2
33+
- uses: dtolnay/rust-toolchain@clippy
34+
- run: cargo clippy -- -Dclippy::all -Dclippy::pedantic
35+
2736
outdated:
2837
name: Outdated
2938
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)