Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 days 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 (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-12-30T08:07:30.000Z (6 days ago)
- Last Synced: 2025-01-01T12:10:58.273Z (4 days ago)
- Topics: cargo-subcommand, github-actions, rust, rust-lang
- Language: TypeScript
- Homepage: https://github.com/marketplace/actions/rust-cargo-make
- Size: 2.07 MB
- Stars: 32
- Watchers: 3
- Forks: 6
- Open Issues: 2
-
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.