Skip to content

Fold all LLM verification commands into one. #17

@Sewer56

Description

@Sewer56

Right now LLMs are asked to do:

cargo build --workspace --all-features --all-targets --quiet
cargo test --workspace --all-features --quiet
cargo clippy --workspace --all-features --quiet -- -D warnings
cargo doc --workspace --all-features --quiet
cargo fmt --all --quiet
cargo publish --dry-run --quiet

Such that when users of the template use LLMs, they will avoid failing the PR quality checks.
This could however be folded into one command, e.g.

cargo build && cargo test && cargo clippy

This will make it faster to run, and use up less of the user's tokens, as it is one request instead of multiple.

In addition, only run the checks if editing code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions