diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c22b238442..e5cc6312a3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -120,7 +120,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - run: curl https://bun.sh/install | bash + - uses: oven-sh/setup-bun@v1 + with: + bun-version: latest - name: Load cached dist uses: actions/cache@v3 id: dist diff --git a/tap/.bun.sh b/tap/.bun.sh index 13c28c996a..c1a1f6580e 100755 --- a/tap/.bun.sh +++ b/tap/.bun.sh @@ -1,5 +1,3 @@ -BUN=~/.bun/bin/bun +echo "Using Bun `bun -v`" -echo "Using Bun `$BUN -v`" - -$BUN run tap/run-bun.ts +bun run tap/run-bun.ts