Skip to content

Commit 7ad78ba

Browse files
committed
chore: remove Deno 1.x from GitHub Actions
1 parent 16efe7d commit 7ad78ba

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/jsr.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: jsr
22

3-
env:
4-
DENO_VERSION: 1.x
5-
63
on:
74
push:
85
tags:
@@ -19,9 +16,9 @@ jobs:
1916
- uses: actions/checkout@v4
2017
with:
2118
fetch-depth: 0
22-
- uses: denoland/setup-deno@v1
19+
- uses: denoland/setup-deno@v2
2320
with:
24-
deno-version: ${{ env.DENO_VERSION }}
21+
deno-version: "2.x"
2522
- name: Publish
2623
run: |
2724
deno run -A jsr:@david/[email protected]

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@ jobs:
1414
runner:
1515
- ubuntu-latest
1616
deno_version:
17-
- "1.x"
1817
- "2.x"
1918
runs-on: ${{ matrix.runner }}
2019
steps:
2120
- run: git config --global core.autocrlf false
2221
if: runner.os == 'Windows'
2322
- uses: actions/checkout@v4
24-
- uses: denoland/setup-deno@v1.1.4
23+
- uses: denoland/setup-deno@v2
2524
with:
2625
deno-version: "${{ matrix.deno_version }}"
2726
- uses: actions/cache@v4
@@ -41,9 +40,9 @@ jobs:
4140
runs-on: ubuntu-latest
4241
steps:
4342
- uses: actions/checkout@v4
44-
- uses: denoland/setup-deno@v1
43+
- uses: denoland/setup-deno@v2
4544
with:
46-
deno-version: ${{ env.DENO_VERSION }}
45+
deno-version: "2.x"
4746
- name: Publish (dry-run)
4847
run: |
4948
deno publish --dry-run

0 commit comments

Comments
 (0)