loadingalias/cargo-rail
Planner-first CI transport for cargo rail plan surfaces and scope.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Apr 19, 2026
- License
- MIT
Pinned Snippet
uses: loadingalias/cargo-rail-action@95875a43ad5583b4d6a1dc65630afb0c2ecb6b30 # v4.1.3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| version | cargo-rail version to install (default: 0.19.0; use 'latest' for floating installs) | no | 0.19.0 |
| checksum | Checksum verification mode for downloaded binaries: required/if-available/off | no | required |
| since | Git ref to compare against (auto-detects PR base or origin/main) | no | — |
| args | Additional arguments to pass to cargo-rail | no | "" |
| working-directory | Working directory containing Cargo.toml (default: repo root) | no | . |
| token | GitHub token for downloading releases | no | ${{ github.token }} |
| mode | Output mode: minimal (default) or debug | no | minimal |
Outputs
| name | description |
|---|---|
| plan-json | Full planner contract (debug mode only) |
| scope-json | Compact execution-scope payload emitted by the planner |
| surfaces-json | Boolean map of built-in and custom planner surfaces |
| cargo-args | Cargo package selection args emitted by the planner scope |
| build | 'true' when build surface is active |
| test | 'true' when test surface is active |
| bench | 'true' when bench surface is active |
| docs | 'true' when docs surface is active |
| infra | 'true' when infra surface is active |
| base-ref | Git ref used for comparison (set RAIL_SINCE env var for scripts) |