From 08e2912eb88465fb24e0a0c3b8153a9aa74b8115 Mon Sep 17 00:00:00 2001 From: Minsoo Choo Date: Sat, 2 Nov 2024 03:08:31 -0400 Subject: [PATCH] ci: Use latest version of Bun and Deno for CI (#3554) * workflow: update setup-bun to v2 * workflow: use bun 1.1.33 * workflow: use deno 2.x --- .github/workflows/ci.yml | 24 ++++++++++++------------ .github/workflows/release.yml | 6 +++--- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e15449c..687c3615 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,9 +45,9 @@ jobs: - uses: actions/setup-node@v4 with: node-version: '20.x' - - uses: oven-sh/setup-bun@v1 + - uses: oven-sh/setup-bun@v2 with: - bun-version: '1.1.16' + bun-version: '1.1.33' - run: bun install - run: bun run format - run: bun run lint @@ -66,7 +66,7 @@ jobs: - uses: denoland/setup-deno@v2 with: deno-version: v2.x - - uses: oven-sh/setup-bun@v1 + - uses: oven-sh/setup-bun@v2 - run: bunx jsr publish --dry-run deno: @@ -90,9 +90,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: oven-sh/setup-bun@v1 + - uses: oven-sh/setup-bun@v2 with: - bun-version: '1.1.16' + bun-version: '1.1.33' - run: bun run test:bun - uses: actions/upload-artifact@v4 with: @@ -103,7 +103,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: oven-sh/setup-bun@v1 + - uses: oven-sh/setup-bun@v2 - run: bun install - run: bun run build - run: bun run test:fastly @@ -123,7 +123,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - - uses: oven-sh/setup-bun@v1 + - uses: oven-sh/setup-bun@v2 - run: bun install - run: bun run build - run: bun run test:node @@ -141,7 +141,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: '20.x' - - uses: oven-sh/setup-bun@v1 + - uses: oven-sh/setup-bun@v2 - run: bun install - run: bun run build - run: bun run test:workerd @@ -155,7 +155,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: oven-sh/setup-bun@v1 + - uses: oven-sh/setup-bun@v2 - run: bun install - run: bun run build - run: bun run test:lambda @@ -169,7 +169,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: oven-sh/setup-bun@v1 + - uses: oven-sh/setup-bun@v2 - run: bun install --frozen-lockfile - run: bun run build - run: bun run test:lambda-edge @@ -183,7 +183,7 @@ jobs: if: github.event_name == 'pull_request' steps: - uses: actions/checkout@v4 - - uses: oven-sh/setup-bun@v1 + - uses: oven-sh/setup-bun@v2 - run: bun install - uses: actions/cache/restore@v4 with: @@ -210,7 +210,7 @@ jobs: if: github.ref == 'refs/heads/main' steps: - uses: actions/checkout@v4 - - uses: oven-sh/setup-bun@v1 + - uses: oven-sh/setup-bun@v2 - run: bun install - run: bun scripts/generate-app.ts working-directory: perf-measures/type-check diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 12f6fa86..f75beebd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,9 +18,9 @@ jobs: - uses: actions/checkout@v4 - name: Install deno - uses: denoland/setup-deno@v1 + uses: denoland/setup-deno@v2 with: - deno-version: v1.x + deno-version: v2.x - name: Publish to JSR - run: deno run -A jsr:@david/publish-on-tag@0.1.3 + run: deno run -A jsr:@david/publish-on-tag@0.1.4