From 08e2ef6777ed93f62c3335c343638abb09d7adff Mon Sep 17 00:00:00 2001 From: Benjamin Fischer Date: Fri, 8 Nov 2024 19:10:22 +0100 Subject: [PATCH 1/6] chore(ci): update node and deno version --- .github/workflows/canary.yml | 4 +--- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index f7f1b600..3591b8a9 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -11,11 +11,9 @@ jobs: runtime: - name: deno deno-version: canary - - name: deno - deno-version: rc - name: node deno-version: canary - node-version: nightly + node-version: canary # - name: bun # deno-version: canary # bun-version: canary diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3fc175e7..a54d5308 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - deno_version: [v1.x, rc] + deno_version: [v1.x, v2.x] env: RUST_BACKTRACE: full DENO_FUTURE: 1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 155a8c95..2ae2b204 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: - name: deno deno-version: v1.x - name: deno - deno-version: rc + deno-version: v2.x - name: node # - name: bun os: [macOS-latest, windows-latest, ubuntu-latest] From 54a33312eb9a450fe09fc66ab33aaeeaf3c06c97 Mon Sep 17 00:00:00 2001 From: Benjamin Fischer Date: Fri, 8 Nov 2024 19:11:14 +0100 Subject: [PATCH 2/6] add pull request trigger --- .github/workflows/canary.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index 3591b8a9..9a935aaa 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -1,5 +1,6 @@ name: Canary on: + pull_request: schedule: - cron: 0 3 * * * jobs: From a1813bc0190f024b2c9412d62ccb5f3ad000f6ad Mon Sep 17 00:00:00 2001 From: Benjamin Fischer Date: Fri, 8 Nov 2024 19:18:51 +0100 Subject: [PATCH 3/6] use latest node version --- .github/workflows/canary.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index 9a935aaa..70e3a78a 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -14,9 +14,8 @@ jobs: deno-version: canary - name: node deno-version: canary - node-version: canary + node-version: latest # - name: bun - # deno-version: canary # bun-version: canary os: [macOS-latest, windows-latest, ubuntu-latest] env: @@ -40,6 +39,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.runtime.node-version }} + check-latest: true - name: Setup Bun if: matrix.runtime.name == 'bun' From b9278c6effed2b05458d225a62ba8dfed03ff724 Mon Sep 17 00:00:00 2001 From: Benjamin Fischer Date: Fri, 8 Nov 2024 19:20:39 +0100 Subject: [PATCH 4/6] remove pull request trigger --- .github/workflows/canary.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index 70e3a78a..61b71069 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -1,6 +1,5 @@ name: Canary on: - pull_request: schedule: - cron: 0 3 * * * jobs: From 3338b85c3be67b6a635fb662df94e50b8a067789 Mon Sep 17 00:00:00 2001 From: Benjamin Fischer Date: Fri, 8 Nov 2024 19:22:13 +0100 Subject: [PATCH 5/6] cleanup --- .github/workflows/canary.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index 61b71069..f1e1812d 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -15,6 +15,7 @@ jobs: deno-version: canary node-version: latest # - name: bun + # deno-version: canary # bun-version: canary os: [macOS-latest, windows-latest, ubuntu-latest] env: From 07509db2a9d3048a604d4cada0fb3b80aa9fd086 Mon Sep 17 00:00:00 2001 From: Benjamin Fischer Date: Fri, 8 Nov 2024 19:25:06 +0100 Subject: [PATCH 6/6] use setup-deno@v2 --- .github/workflows/canary.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/publish.yml | 2 +- .github/workflows/test.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index f1e1812d..2dd94a1f 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Deno - uses: denoland/setup-deno@v1 + uses: denoland/setup-deno@v2 with: deno-version: ${{ matrix.runtime.deno-version }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a54d5308..e006ddaf 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Deno - uses: denoland/setup-deno@v1 + uses: denoland/setup-deno@v2 with: deno-version: ${{ matrix.deno_version }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b72ed2e4..8c068d60 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,7 +24,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Deno - uses: denoland/setup-deno@v1 + uses: denoland/setup-deno@v2 - name: Publish (dry run) if: github.event_name != 'release' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2ae2b204..199468e2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Deno - uses: denoland/setup-deno@v1 + uses: denoland/setup-deno@v2 with: deno-version: ${{ matrix.runtime.deno-version }} # deno-version-file: ".deno-version"