kunobi-ninja/Kache - Rust Build Cache
Content-addressed Rust build cache with S3 remote storage
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 19, 2026
- License
- Apache 2.0
Pinned Snippet
uses: kunobi-ninja/kache-action@49398d37113c616fdb61be434cb497e3c2c8f3e6 # v1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| version | Kache version to install (default: latest) | no | — |
| s3-bucket | S3 bucket name for remote cache | no | — |
| s3-region | S3 region | no | us-east-1 |
| s3-prefix | S3 key prefix | no | artifacts |
| s3-endpoint | Custom S3 endpoint (MinIO, R2, etc.) | no | — |
| s3-access-key-id | S3 access key ID | no | — |
| s3-secret-access-key | S3 secret access key | no | — |
| cache-executables | Cache bin/dylib/proc-macro outputs | no | false |
| github-cache | Use GitHub Actions cache for the local kache store (used when S3 is not configured) | no | true |
| cache-key-prefix | Custom prefix for GitHub Actions cache key | no | kache |
| sync | Pull ALL remote cache on setup (slow, prefer warm) | no | false |
| warm | Auto-prefetch expensive artifacts from build manifest on daemon startup | no | true |
| manifest-key | Manifest key for scoping builds (default: target triple). Use different keys for clippy, test, release builds sharing the same S3 bucket. | no | "" |
| namespace | Enables content-addressed shards (sharded prefetch + shard upload). Defaults to manifest-key, so scoping a build turns shards on. Helps most when deps churn or for cross-branch sharing; set distinct values per build variant sharing one bucket, or leave both empty to disable shards. See the Manifest vs shards section in the README. | no | "" |
| min-compile-ms | Skip prefetching crates that compiled faster than this (ms). Cheaper to recompile. | no | 1000 |
| token | GitHub token for releases API and PR comments (needs pull-requests: write for comments) | no | ${{ github.token }} |
| pr-comment | Post/update a sticky PR comment with cache stats. The job summary is always written regardless. | no | true |
| max-size | Max local kache store size before LRU eviction (e.g. "100GiB"). Maps to KACHE_MAX_SIZE; kache defaults to 50GiB. Controls the local store, not a remote/S3 cap. | no | — |
Outputs
no outputs