marcoieni/cargo-assist

GitHub action to automatically format your Rust code

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
clippyWhether to run `cargo clippy --fix` or not. Useful if you want to run only `cargo fmt`. Possible values: `true`, `false`. Default: `true`. notrue
clippy_allow_dirtyWhether to add `--allow-dirty` to clippy or not. Useful if you want to run `cargo clippy --fix` on a dirty repository. If you run commands before cargo-assist, the repository might be dirty. Possible values: `true`, `false`. Default: `false`. nofalse
clippy_flagsFlags to pass to `cargo clippy --fix`. Default: `--all-targets --all-features --workspace`. no--all-targets --all-features --workspace
commit_messageCommit message to use when committing the changes. Default: `chore: format, fix lints`. nochore: format, fix lints
fmtWhether to run `cargo fmt` or not. Useful if you want to run only `cargo clippy --fix`. Possible values: `true`, `false`. Default: `true`. notrue
github_tokenGitHub token of the author of the commit. If you provide `secrets.GITHUB_TOKEN`, the author of the commit is the github-actions bot. yes
working_directoryDirectory where to run the commands. Defaults to repository's root. Useful if your rust project is in a subdirectory. no

no outputs