Skip to content

Commit b714bb2

Browse files
committed
ci: switch to standard GitHub cache action for Bun dependencies
1 parent 472d01f commit b714bb2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/actions/setup-bun/action.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ description: "Setup Bun with caching and install dependencies"
33
runs:
44
using: "composite"
55
steps:
6-
- name: Mount Bun Cache
7-
if: ${{ runner.os == 'Linux' }}
8-
uses: useblacksmith/stickydisk@v1
6+
- name: Cache Bun dependencies
7+
uses: actions/cache@v4
98
with:
10-
key: ${{ github.repository }}-bun-cache-${{ runner.os }}
11-
path: ~/.bun
9+
path: ~/.bun/install/cache
10+
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
11+
restore-keys: |
12+
${{ runner.os }}-bun-
1213
1314
- name: Setup Bun
1415
uses: oven-sh/setup-bun@v2

0 commit comments

Comments
 (0)