Skip to content

Commit

Permalink
ci: add clippy job
Browse files Browse the repository at this point in the history
Signed-off-by: Renato Westphal <[email protected]>
  • Loading branch information
rwestphal committed Apr 7, 2024
1 parent 589398f commit 9032277
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on: [push, pull_request]

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

jobs:
fmt:
Expand All @@ -22,6 +24,15 @@ jobs:
exit 1
fi
clippy_check:
name: Linter Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- name: Run Clippy
run: cargo clippy

test:
name: Tests and Coverage Report
env:
Expand Down

0 comments on commit 9032277

Please sign in to comment.