~ knotless Search/
↑↓ move↵ open⇧↵ all results

rust-lint

1.0.0

chadtmiller.com/steps.knotless/steps/rust-lint.yml

Checks a Rust workspace's formatting with rustfmt and lints it with clippy, warnings denied. Cache target, /usr/local/cargo/registry and /usr/local/rustup to lint only what changed.

Use it

- uses: chadtmiller.com/steps/rust-lint@1

Then knotless uses update pins it in .knotless/uses.lock.

Inputs

  • clippy
    What clippy is given before `-- -D warnings`.
    Default --workspace --all-targets --locked

What it asks for

  • Asks for no secrets
  • Needs cargo and rustup in the image