An open API service indexing awesome lists of open source software.

https://github.com/cryptex-github/cached-cargo-install

Faster cargo install by caching it in github action cache.
https://github.com/cryptex-github/cached-cargo-install

Last synced: 2 months ago
JSON representation

Faster cargo install by caching it in github action cache.

Awesome Lists containing this project

README

        

# cached-cargo-install
Faster cargo install by caching it in github action cache.

## Example workflow

```yaml
name: test
on: push

jobs:
benchmark:
runs-on: ubuntu-latest
steps:
- name: Install cargo-criterion
uses: Cryptex-github/cached-cargo-install@main
with:
crate-name: cargo-criterion

- name: Run benchmark
run: cargo criterion
```

## Inputs

| Name | Required | Description |
| ------------ | -------- | ---------------------------------- |
| `crate-name` | ✓ | The name of the crate on crates.io |

*Licensed under Apache-2.0*