brndnmtthws/brndnmtthws/rust-action
All-in-one Rust action with caching for linting, building, testing, and producing coverage reports.
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 2–4scored Jul 6, 2026
- Maintenance Recency
- Maintainedlast commit Dec 17, 2025
- License
- AGPL 3.0
Pinned Snippet
uses: brndnmtthws/rust-action@1871ec11ecd98fd7c97eccc0042e92c97151e41a # v1.3.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| toolchain | Specify a Rust toolchain. | — | stable |
| components | Rust components to install along with the toolchain. | — | clippy rustfmt |
| cargo-packages | The default set of cargo packages to install | — | cargo-tarpaulin |
| disable-cargo-registry-cache | If set to 'true', the Cargo registry cache will not be enabled. | — | — |
| disable-cargo-target-cache | If set to 'true', the Cargo target cache will not be enabled. | — | — |
| enable-sccache | If set to 'true', sccache will be enabled. | — | — |
| target-cache-key | The cache key to use for caching the target dirs. | no | — |
| target-cache-restore-keys | The cache restore keys to use for caching the target dirs. | no | — |
| registry-cache-key | The cache key to use for caching the cargo registry. | no | — |
| registry-cache-restore-keys | The cache restore keys to use for caching the cargo registry. | no | — |
| sccache-cache-key | The cache key to use for caching sccache. | no | — |
| sccache-cache-restore-keys | The cache restore keys to use for caching sccache. | no | — |
| target-dir | The glob pattern for cargo target directories to cache. | no | **/target/** |
Outputs
| name | description |
|---|---|
| cargo-registry-cache-hit | A boolean value to indicate if cargo registry cache was hit |
| cargo-target-cache-hit | A boolean value to indicate if cargo target cache was hit |
| sccache-cache-hit | A boolean value to indicate if sccache cache was hit |