blob: bed0f66bab33a868afdda561a053c84de395fac5 [file] [log] [blame] [view] [edit]
# GitHub Actions
GitHub hosted runners using the latest stable version of Rust have Clippy pre-installed.
It is as simple as running `cargo clippy` to run lints against the codebase.
```yml
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@v6
- name: Run Clippy
run: cargo clippy --all-targets --all-features
```