ci: upgrade bun cache to stickydisk for faster ci builds

This commit is contained in:
Dax Raad
2026-01-29 19:18:41 -05:00
committed by opencode
parent bbc7bdb3fd
commit 1f3bf56640

View File

@@ -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