Skip to content

Commit 3814f31

Browse files
authored
Add Clippy check workflow for Rust projects
1 parent c961caa commit 3814f31

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/clippy-check.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
on: push
2+
name: Clippy check
3+
4+
# Make sure CI fails on all warnings, including Clippy lints
5+
env:
6+
RUSTFLAGS: "-Dwarnings"
7+
8+
jobs:
9+
clippy_check:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v5
13+
- name: Run Clippy
14+
run: cargo clippy --all-targets --all-features

0 commit comments

Comments
 (0)