https://github.com/davidb/rust-cargo-make
🛠️ GitHub Action to install `cargo-make` command
https://github.com/davidb/rust-cargo-make
cargo-subcommand github-actions rust rust-lang
Last synced: 10 months ago
JSON representation
🛠️ GitHub Action to install `cargo-make` command
- Host: GitHub
- URL: https://github.com/davidb/rust-cargo-make
- Owner: davidB
- License: mit
- Created: 2019-10-12T15:28:41.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-07-21T18:17:25.000Z (11 months ago)
- Last Synced: 2025-07-21T20:22:37.098Z (11 months ago)
- Topics: cargo-subcommand, github-actions, rust, rust-lang
- Language: TypeScript
- Homepage: https://github.com/marketplace/actions/rust-cargo-make
- Size: 5.11 MB
- Stars: 33
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# `rust-cargo-make` action
Install `cargo-make` by downloading the executable (faster than
`cargo install cargo-make`, seconds vs minutes).
## Inputs
### `version`
**Optional** version of `cargo-make` to install (eg. `"0.22.2"`, `"latest"`).
## Example usage
```yaml
- uses: dtolnay/rust-toolchain@stable
- uses: davidB/rust-cargo-make@v1
- uses: actions/checkout@v1
- name: Run tests
run: cargo make ci-flow
```
```yaml
- uses: dtolnay/rust-toolchain@stable
- uses: davidB/rust-cargo-make@v1
with:
version: '0.23.0'
- uses: actions/checkout@v1
- name: Run tests
run: cargo make ci-flow
```
## Alternatives
- [taiki-e/install-action: GitHub Action for installing development tools (mainly from GitHub Releases).](https://github.com/taiki-e/install-action),
full list of installable tools
[here](https://github.com/taiki-e/install-action/blob/main/TOOLS.md)
```yaml
- uses: taiki-e/install-action@v2
with:
tool: cargo-make
```
- using [mise](https://mise.jdx.dev/) and its GitHub Action to setup rust,
cargo-make, and other tools (on local machine & GitHub workflow), partial list
of installable tools at
[asdf-vm/asdf-plugins: Convenience shortname repository for asdf community plugins](https://github.com/asdf-vm/asdf-plugins)
but there are other alternatives than asdf.