Skip to content

Commit d3f6721

Browse files
committed
ci: Lint code with cargo clippy
1 parent 1014558 commit d3f6721

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/rust.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,10 @@ jobs:
2828
- uses: actions/checkout@v3
2929
- name: Run cargo fmt
3030
run: cargo fmt -- --check
31+
clippy:
32+
name: Clippy lints
33+
runs-on: ubuntu-latest
34+
steps:
35+
- uses: actions/checkout@v3
36+
- name: Run cargo clippy
37+
run: cargo clippy --tests -- --deny warnings

0 commit comments

Comments
 (0)