Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.76 KB

README.md

File metadata and controls

40 lines (29 loc) · 1.76 KB

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