p6m-actions/Rust Build
Builds a Rust project with flexible lint, test, and build commands
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Dec 10, 2025
- License
- None
Pinned Snippet
uses: p6m-actions/rust-build@12a0c8b240fa2d0e5c12b85860df57352fb0f3a1 # v1.2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| run-lint | Whether to run linting | no | true |
| lint-command | Command to run for linting | no | cargo clippy |
| lint-args | Additional arguments for the lint command | no | -- -D warnings |
| run-format-check | Whether to check code formatting | no | true |
| format-command | Command to run for format checking | no | cargo fmt |
| format-args | Additional arguments for the format command | no | -- --check |
| run-test | Whether to run tests | no | true |
| test-command | Command to run for testing | no | cargo test |
| test-args | Additional arguments for the test command | no | "" |
| run-build | Whether to run build | no | true |
| build-command | Command to run for building | no | cargo build |
| build-args | Additional arguments for the build command | no | --release |
| workspace | Build all workspace members | no | false |
| all-features | Activate all available features | no | false |
| no-default-features | Do not activate the default features | no | false |
| features | Comma-separated list of features to activate | no | "" |
| working-directory | Working directory for cargo commands | no | . |
| archive-coverage | Whether to archive code coverage results | no | false |
| coverage-path | Path to the coverage reports | no | target/coverage |
Outputs
| name | description |
|---|---|
| build-status | Build status (success or failure) |