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.
- Host: GitHub
- URL: https://github.com/cryptex-github/cached-cargo-install
- Owner: Cryptex-github
- License: apache-2.0
- Created: 2023-10-14T22:03:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-15T02:09:41.000Z (over 1 year ago)
- Last Synced: 2025-01-23T10:43:32.014Z (4 months ago)
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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: pushjobs:
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*