summaryrefslogtreecommitdiffhomepage
path: root/.github/actions/setup-bun
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2026-01-29 19:18:41 -0500
committeropencode <[email protected]>2026-01-30 00:31:06 +0000
commit1f3bf566409c373f26d12b136bfaa6f38ed6efac (patch)
treed3437a216f7a61db81799efb936128f06f104851 /.github/actions/setup-bun
parentbbc7bdb3fd5078d0add23273e0fdae436b9b47e4 (diff)
downloadopencode-1f3bf566409c373f26d12b136bfaa6f38ed6efac.tar.gz
opencode-1f3bf566409c373f26d12b136bfaa6f38ed6efac.zip
ci: upgrade bun cache to stickydisk for faster ci builds
Diffstat (limited to '.github/actions/setup-bun')
-rw-r--r--.github/actions/setup-bun/action.yml9
1 files changed, 3 insertions, 6 deletions
diff --git a/.github/actions/setup-bun/action.yml b/.github/actions/setup-bun/action.yml
index cba04facc..02f215ff1 100644
--- a/.github/actions/setup-bun/action.yml
+++ b/.github/actions/setup-bun/action.yml
@@ -8,14 +8,11 @@ runs:
with:
bun-version-file: package.json
- - name: Cache ~/.bun
- id: cache-bun
- uses: actions/cache@v4
+ - name: Mount Bun Cache
+ uses: useblacksmith/stickydisk@v1
with:
+ key: ${{ github.repository }}-bun-cache
path: ~/.bun
- key: ${{ runner.os }}-bun-${{ hashFiles('package.json') }}-${{ hashFiles('bun.lockb', 'bun.lock') }}
- restore-keys: |
- ${{ runner.os }}-bun-${{ hashFiles('package.json') }}-
- name: Install dependencies
run: bun install