Add GitHub Action declaration for installing cargo-binstall (#1269)

add action.yml and test it
This commit is contained in:
Marcin Nowak-Liebiediew 2023-08-09 22:50:16 +02:00 committed by GitHub
parent 8e6dcc57ff
commit 42dddd972d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 54 additions and 0 deletions

View file

@ -107,6 +107,10 @@ Supported crates such as `cargo-binstall` itself can also be updated with `cargo
- You can find a full description of errors including exit codes here: <https://docs.rs/binstalk/latest/binstalk/errors/enum.BinstallError.html>
- Can I use it in CI?
- Yes! For GitHub Actions, we recommend the excellent [taiki-e/install-action](https://github.com/marketplace/actions/install-development-tools), which has explicit support for selected tools and uses `cargo-binstall` for everything else.
- Additionally, we provide a minimal GitHub Action that installs `cargo-binstall`:
```yml
- uses: cargo-bins/cargo-binstall@main
```
- Are debug symbols available?
- Yes! Extra pre-built packages with a `.full` suffix are available and contain split debuginfo, documentation files, and extra binaries like the `detect-wasi` utility.