3 GitHub hosted runners using the latest stable version of Rust have Clippy pre-installed.
4 It is as simple as running `cargo clippy` to run lints against the codebase.
10 # Make sure CI fails on all warnings, including Clippy lints
12 RUSTFLAGS: "-Dwarnings"
16 runs-on: ubuntu-latest
18 - uses: actions/checkout@v3
20 run: cargo clippy --all-targets --all-features