loadingalias/cargo-rail

Planner-first CI transport for cargo rail plan surfaces and scope.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 19, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: loadingalias/cargo-rail-action@95875a43ad5583b4d6a1dc65630afb0c2ecb6b30 # v4.1.3

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
versioncargo-rail version to install (default: 0.19.0; use 'latest' for floating installs)no0.19.0
checksumChecksum verification mode for downloaded binaries: required/if-available/offnorequired
sinceGit ref to compare against (auto-detects PR base or origin/main)no
argsAdditional arguments to pass to cargo-railno""
working-directoryWorking directory containing Cargo.toml (default: repo root)no.
tokenGitHub token for downloading releasesno${{ github.token }}
modeOutput mode: minimal (default) or debugnominimal
namedescription
plan-jsonFull planner contract (debug mode only)
scope-jsonCompact execution-scope payload emitted by the planner
surfaces-jsonBoolean map of built-in and custom planner surfaces
cargo-argsCargo 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-refGit ref used for comparison (set RAIL_SINCE env var for scripts)