Skip to content

brndnmtthws/rust-action-cargo-binstall

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Build and test

GitHub action for installing Cargo packages

This action provides a simple way to install Cargo packages using cargo binstall. cargo binstall allows us to speed up our CI by using binary packages where available, rather than compiling everything from source.

This is useful for installing tools such as Tarpaulin, sccache, or any other Rust package that's supported by cargo binstall in your GitHub Actions.

You can use this action in your workflow directly, or use the all-in-one action for all your Rust CI needs. While this action is intended to be used with Rust projects, it's also useful on its own for non-Rust projects (for example, to use sccache with C++).

Inputs

Input Description Example
packages A comma or whitespace separated list of packages to install using cargo binstall. cargo-watch cargo-tree cargo-tarpaulin

Recipes

Install cargo-tarpaulin and sccache

Show me the code
- uses: brndnmtthws/rust-action-cargo-binstall@v1
  with:
    packages: cargo-tarpaulin sccache

About

GitHub action for installing Cargo packages

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •