opencode
opencode copied to clipboard
feat: add caching for opencode binary in GitHub Actions
Summary
- Add caching mechanism for opencode binary in GitHub Actions to speed up workflow runs
Why
- Currently, every workflow run downloads the opencode binary from scratch
- With caching, subsequent runs can skip the download if the same version is already cached
Comparison
| Scenario | Time |
|---|---|
| Cache miss | 1m 34s |
| Cache hit | 24s (~74% faster) |