loonghao/Rust Actions Toolkit
🦀 Simple and universal GitHub Actions toolkit for Rust projects - CI/CD, native builds, and releases
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| command | Command to run: ci, release, or release-plz | yes | ci |
| rust-toolchain | Rust toolchain version | no | stable |
| working-directory | Working directory for cargo commands (useful for workspace projects) | no | . |
| cargo-features | Cargo features to enable (e.g. "feature1,feature2" or "all") | no | "" |
| setup-msvc | Setup MSVC developer environment on Windows (for msvc targets) | no | false |
| check-format | Run cargo fmt --check (ci command) | no | true |
| check-clippy | Run cargo clippy (ci command) | no | true |
| check-docs | Run cargo doc (ci command) | no | true |
| clippy-args | Additional arguments for clippy (ci command) | no | --all-targets -- -D warnings |
| use-nextest | Use cargo-nextest for running tests (faster parallel execution) | no | false |
| test-args | Additional arguments for cargo test / nextest (ci command) | no | "" |
| binary-name | Binary name(s) to release, comma-separated for multiple (release command) | no | "" |
| enable-python-wheels | Enable Python wheel building (release command) | no | false |
| github-token | GitHub token for release uploads (release command) | no | "" |
| cargo-registry-token | Cargo registry token for crates.io publishing (release-plz command) | no | "" |
| release-plz-token | Enhanced GitHub PAT for cross-workflow triggers (release-plz command) | no | "" |
| release-plz-command | Release-plz command: release, release-pr, or both (release-plz command) | no | both |
Outputs
| name | description |
|---|---|
| rust-version | Installed Rust version |
| binary-path | Path to the built binary (release command) |
| wheel-path | Path to the built Python wheel (release command) |
| release-created | Whether a release was created (release-plz command) |
| pr-created | Whether a PR was created (release-plz command) |
| version | Released version (release-plz command) |