summaryrefslogtreecommitdiffhomepage
path: root/.github/actions
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2026-02-18 12:23:06 -0500
committerDax Raad <[email protected]>2026-02-18 12:24:17 -0500
commitb714bb21d232d9c9fbb7fb1915c752d7ff4f150d (patch)
treeab850ac9730d15782fd8d8855931997c86b96d58 /.github/actions
parent472d01fbaf8e5aa46048062d3dd8f7acb1fc2c49 (diff)
downloadopencode-b714bb21d232d9c9fbb7fb1915c752d7ff4f150d.tar.gz
opencode-b714bb21d232d9c9fbb7fb1915c752d7ff4f150d.zip
ci: switch to standard GitHub cache action for Bun dependencies
Diffstat (limited to '.github/actions')
-rw-r--r--.github/actions/setup-bun/action.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.github/actions/setup-bun/action.yml b/.github/actions/setup-bun/action.yml
index 8cf87c5d8..20d53e81e 100644
--- a/.github/actions/setup-bun/action.yml
+++ b/.github/actions/setup-bun/action.yml
@@ -3,12 +3,13 @@ description: "Setup Bun with caching and install dependencies"
runs:
using: "composite"
steps:
- - name: Mount Bun Cache
- if: ${{ runner.os == 'Linux' }}
- uses: useblacksmith/stickydisk@v1
+ - name: Cache Bun dependencies
+ uses: actions/cache@v4
with:
- key: ${{ github.repository }}-bun-cache-${{ runner.os }}
- path: ~/.bun
+ path: ~/.bun/install/cache
+ key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
+ restore-keys: |
+ ${{ runner.os }}-bun-
- name: Setup Bun
uses: oven-sh/setup-bun@v2