p6m-actions/Rust Setup
Setup Rust toolchain with cargo registry and build caching
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| toolchain | Rust toolchain version (stable, beta, nightly, or specific version) | no | stable |
| components | Comma-separated list of components to install (e.g., clippy, rustfmt) | no | "" |
| targets | Comma-separated list of targets to install (e.g., wasm32-unknown-unknown) | no | "" |
| cache | Enable cargo registry and target caching | no | true |
| cache-key-suffix | Additional suffix for cache key | no | "" |
| install-dependencies | Run cargo fetch to pre-cache dependencies | no | false |
| working-directory | Working directory for cargo commands | no | . |
Outputs
| name | description |
|---|---|
| rustc-version | The installed rustc version |
| cargo-version | The installed cargo version |
| cache-hit | Whether the cargo cache was hit |