zackees/setup-soldr

Extraction-ready Soldr setup action. Installs one soldr binary, bootstraps rustup when needed, provisions the resolved Rust toolchain, and restores a cacheable runner-local Soldr root.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionSoldr version or tag to install. Defaults to the latest release.no""
repoRelease source repository override for extraction or local testing. Not part of the intended public setup-soldr@v0 beta contract.nozackees/soldr
cacheRestore and save the action-managed cache/state root across workflow runs.notrue
cache-dirOverride the runner-local cache/state root used for Soldr, Cargo, and rustup state rehydrated by this action.no""
cache-key-suffixOptional extra suffix appended to the cache key.no""
toolchainOverride the exact Rust toolchain channel string. When empty, toolchain-file is used if present, otherwise stable.no""
toolchain-fileToolchain file to read when toolchain is not explicitly set.norust-toolchain.toml
trust-modeOptional value for SOLDR_TRUST_MODE.no""
build-cacheRestore and save the Soldr-owned zccache compilation artifact cache across workflow runs. Default "true"; the action restores the action-managed zccache cache root with a toolchain-scoped key and saves it at end-of-job, letting GitHub's own-branch -> PR base -> default-branch restore order seed feature-branch runs from the latest main-branch save without any repo-side configuration. Set to "false" to opt out. notrue
target-cacheRestore and save the zccache-owned Rust artifact plan cache across workflow runs. Default "true"; target-cache-mode controls whether this is a bounded thin dependency-artifact cache or an explicit full target cache plan. Set to "false" to cache only zccache compilation artifacts. notrue
target-cache-modeRust artifact cache mode. "thin" asks soldr to generate a bounded dependency-artifact plan for zccache by default. "full" asks zccache to cache the entire target-dir and should only be used for tightly scoped jobs. "off" disables target caching even when target-cache is true. The previous "hot" value is accepted as a deprecated alias for "thin". nothin
target-dirCargo target directory used in target-cache key shaping.notarget
tool-shimsOptional PATH shim mode for existing workflows. Set to "cargo" to make later `cargo ...` steps run through `soldr cargo ...` without rewriting them. Default "false" leaves PATH unchanged. nofalse
native-cacheDefault-on native C/C++ compiler caching for build-script work (e.g. bundled SQLite from `libsqlite3-sys`). When "true", soldr injects zccache as the `CC` / `CXX` wrapper so cc-rs invocations hit the same managed cache that rustc invocations do. Default "true"; set to "false" to write `SOLDR_NATIVE_CACHE=0` to the job env so later `soldr cargo ...` steps skip native compiler wrapping while keeping Rust caching intact. `soldr --no-cache cargo ...` is still the global kill-switch and overrides this input at command time. notrue
namedescription
soldr-pathInstalled Soldr binary path added to PATH for later steps.
soldr-versionInstalled Soldr version reported by soldr version --json.
cache-dirRunner-local cache/state root used by the action.
cache-hitWhether the action restored an exact cache hit for the selected cache/state root.
build-cache-hitWhether the action restored the Soldr-owned zccache compilation artifact cache. "true" for an exact key match, "false" for a restore-key fallback or no cache, empty string when `build-cache` is explicitly disabled.
target-cache-hitWhether the action restored the Rust artifact plan cache. "true" for an exact key match, "false" for a restore-key fallback or no cache, empty string when `target-cache` is disabled.
target-cache-modeEffective Rust artifact target cache mode.
toolchainExact Rust toolchain channel configured by rustup for the action.
tool-shims-dirDirectory containing generated tool shims when tool-shims is enabled.
native-cache-enabledEffective native C/C++ compiler cache policy resolved by the action. "true" when soldr will inject zccache as the `CC` / `CXX` wrapper for later `soldr cargo ...` steps; "false" when the action wrote `SOLDR_NATIVE_CACHE=0` to the job env. The command-time kill-switch `soldr --no-cache cargo ...` is not reflected here because it overrides the action's policy at run time.