Skip to content

Commit 17804ce

Browse files
committed
Use actions/cache on Blacksmith runners too
Blacksmith archived useblacksmith/cache in Oct 2025; their runners now cache transparently and the vendor guidance is to use upstream actions/cache. This also matches what every ci.yml job already does, and lets the Linux/macOS cache step split collapse back into one step.
1 parent 02ccfb6 commit 17804ce

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

.github/workflows/pkg-pr-new.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,6 @@ jobs:
3939
bun-version: 1.3.11
4040

4141
- name: Cache Bun package cache
42-
if: runner.os == 'Linux'
43-
uses: useblacksmith/cache@v5
44-
with:
45-
path: ~/.bun/install/cache
46-
key: ${{ runner.os }}-bun-1.3.11-${{ hashFiles('bun.lock') }}
47-
restore-keys: |
48-
${{ runner.os }}-bun-1.3.11-
49-
50-
- name: Cache Bun package cache
51-
if: runner.os == 'macOS'
5242
uses: actions/cache@v4
5343
with:
5444
path: ~/.bun/install/cache
@@ -108,7 +98,7 @@ jobs:
10898
bun-version: 1.3.11
10999

110100
- name: Cache Bun package cache
111-
uses: useblacksmith/cache@v5
101+
uses: actions/cache@v4
112102
with:
113103
path: ~/.bun/install/cache
114104
key: ${{ runner.os }}-bun-1.3.11-${{ hashFiles('bun.lock') }}

.github/workflows/preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
bun-version: 1.3.11
3737

3838
- name: Cache Bun package cache
39-
uses: useblacksmith/cache@v5
39+
uses: actions/cache@v4
4040
with:
4141
path: ~/.bun/install/cache
4242
key: ${{ runner.os }}-bun-1.3.11-${{ hashFiles('bun.lock') }}

0 commit comments

Comments
 (0)