diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d7dede82..debe81cef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -137,3 +137,15 @@ jobs: with: components: rustfmt - run: cargo fmt --all -- --check --unstable-features --error-on-unformatted + + clippy: + name: lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@nightly + with: + components: clippy + - uses: actions-rs-plus/clippy-check@v2 + with: + args: --all --all-targets