Skip to content

Commit bb60cba

Browse files
committed
Update clippy check github workflow.
1 parent 0e5c223 commit bb60cba

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
on: push
1+
on: [push, pull_request]
2+
23
name: Clippy check
4+
35
jobs:
46
clippy_check:
57
runs-on: ubuntu-latest
68
steps:
7-
- uses: actions/checkout@v1
8-
- run: rustup component add clippy
9-
- uses: actions-rs/clippy-check@v1
10-
with:
11-
token: ${{ secrets.GITHUB_TOKEN }}
12-
args: --all-features
9+
- uses: actions/checkout@v4
10+
- name: Run Clippy
11+
run: cargo clippy --all-targets --all-features

0 commit comments

Comments
 (0)