1 parent 0e5c223 commit bb60cbaCopy full SHA for bb60cba
1 file changed
.github/workflows/clippy_check.yaml
@@ -1,12 +1,11 @@
1
-on: push
+on: [push, pull_request]
2
+
3
name: Clippy check
4
5
jobs:
6
clippy_check:
7
runs-on: ubuntu-latest
8
steps:
- - uses: actions/checkout@v1
- - run: rustup component add clippy
9
- - uses: actions-rs/clippy-check@v1
10
- with:
11
- token: ${{ secrets.GITHUB_TOKEN }}
12
- args: --all-features
+ - uses: actions/checkout@v4
+ - name: Run Clippy
+ run: cargo clippy --all-targets --all-features
0 commit comments