brndnmtthws / rust-action-cargo-binstall

GitHub action for installing Cargo packages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 77.0%Language:JavaScript 21.4%Language:Shell 1.6%