clementtsang/cargo action

Invoke cargo/cross and commands.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
commandThe `cargo` command to run (e.g. `build`, `test`).yes
toolchainThe toolchain to use. Do not include the `+` sign (e.g. `nightly`, `beta`). Defaults to stable.no""
argsWhat arguments to pass to the cargo/cross command.no""
use-crossWhether to use cross instead of using cargo. If enabled, cross will automatically be installed if needed.nofalse
cross-versionThe cross version to use. This is only used if `use-cross` is enabled. If it is not set, defaults to the newest stable version of cross. You can also set the special versions of "main" or "git:xyz" to specify a specific git hash or the current main branch head of cross. no""
directoryChange to the specified directory prior to execution. Useful if your repo's base folder does not contain your Rust project. no""
repository-urlAlternative repository to use for the cross crateno""

no outputs