Skip to content

Commit 7b44d96

Browse files
committed
Try caching the bun install too in the format workflow
1 parent ffa7a1a commit 7b44d96

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/format.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515

16-
- name: Setup Bun
17-
uses: oven-sh/setup-bun@v2
18-
with:
19-
bun-version: latest
20-
21-
- name: Cache Bun dependencies
16+
- name: Cache Bun installation
2217
uses: actions/cache@v4
2318
with:
24-
path: ~/.bun/install/cache
19+
path: ~/.bun
2520
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
2621
restore-keys: |
2722
${{ runner.os }}-bun-
2823
24+
- name: Setup Bun
25+
uses: oven-sh/setup-bun@v2
26+
with:
27+
bun-version: latest
28+
2929
- name: Install dependencies
3030
run: bun install --frozen-lockfile
3131

0 commit comments

Comments
 (0)