Skip to content

Commit ca471b2

Browse files
committed
add clippy lint CI target
1 parent 981785c commit ca471b2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

+17
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,20 @@ jobs:
7373

7474
- name: Execute tests for all crates in the workspace
7575
run: cargo test --all
76+
77+
clippy:
78+
name: Lint code
79+
runs-on: ubuntu-latest
80+
steps:
81+
82+
- uses: actions/checkout@v3
83+
84+
- uses: actions-rs/toolchain@v1
85+
with:
86+
profile: minimal
87+
components: clippy
88+
89+
- uses: actions-rs/clippy-check@v1
90+
with:
91+
token: ${{ secrets.GITHUB_TOKEN }}
92+
args: --all-features --all-targets --all

0 commit comments

Comments
 (0)