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: over 1 year 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 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-15T02:09:41.000Z (over 2 years ago)
- Last Synced: 2025-01-23T10:43:32.014Z (over 1 year 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: 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*