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 8, 2024
1 parent c9f9957 commit b717104
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 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,17 @@ jobs:
exit 1
fi
clippy_check:
name: Linter Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy
- name: Run Clippy
run: cargo clippy

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

0 comments on commit b717104

Please sign in to comment.