Skip to content

Commit c13c12c

Browse files
committed
ci: use oven-sh/setup-bun
1 parent eba5f27 commit c13c12c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ jobs:
120120
steps:
121121
- name: Checkout
122122
uses: actions/checkout@v3
123-
- run: curl https://bun.sh/install | bash
123+
- uses: oven-sh/setup-bun@v1
124+
with:
125+
bun-version: latest
124126
- name: Load cached dist
125127
uses: actions/cache@v3
126128
id: dist

tap/.bun.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
BUN=~/.bun/bin/bun
1+
echo "Using Bun `bun -v`"
22

3-
echo "Using Bun `$BUN -v`"
4-
5-
$BUN run tap/run-bun.ts
3+
bun run tap/run-bun.ts

0 commit comments

Comments
 (0)