Skip to content

Commit

Permalink
+ clippy workflow ci
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Nov 10, 2024
1 parent 35780b5 commit 281b234
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/clippy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on: push
name: Clippy check

# Make sure CI fails on all warnings, including Clippy lints
env:
RUSTFLAGS: "-Dwarnings"

jobs:
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check
run: |
rustup default nightly
rustup component add clippy
cargo clippy --all-targets --all-features

0 comments on commit 281b234

Please sign in to comment.