Skip to content

Commit

Permalink
add a clippy github action
Browse files Browse the repository at this point in the history
  • Loading branch information
kimonp committed Dec 21, 2023
1 parent db9dd97 commit f9dee93
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Enforce Clippy lints, including warnings
on: push

# Fail CI on all warnings, including Clippy lints.
env:
RUSTFLAGS: "-Dwarnings"

jobs:
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo clippy --all-targets --all-features

0 comments on commit f9dee93

Please sign in to comment.