Skip to content

Commit 6e39685

Browse files
committed
chore: remove Deno 1.x from GitHub Actions
1 parent 335beea commit 6e39685

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
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: 2.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 & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,13 @@ jobs:
2626
runner:
2727
- ubuntu-latest
2828
deno_version:
29-
- "1.x"
3029
- "2.x"
3130
runs-on: ${{ matrix.runner }}
3231
steps:
3332
- run: git config --global core.autocrlf false
3433
if: runner.os == 'Windows'
3534
- uses: actions/checkout@v4
36-
- uses: denoland/setup-deno@v1.1.4
35+
- uses: denoland/setup-deno@v2
3736
with:
3837
deno-version: "${{ matrix.deno_version }}"
3938
- uses: actions/cache@v4
@@ -61,7 +60,6 @@ jobs:
6160
- macos-latest
6261
- ubuntu-latest
6362
deno_version:
64-
- "1.x"
6563
- "2.x"
6664
host_version:
6765
- vim: "v9.1.0448"
@@ -132,9 +130,9 @@ jobs:
132130
runs-on: ubuntu-latest
133131
steps:
134132
- uses: actions/checkout@v4
135-
- uses: denoland/setup-deno@v1
133+
- uses: denoland/setup-deno@v2
136134
with:
137-
deno-version: ${{ env.DENO_VERSION }}
135+
deno-version: "2.x"
138136
- name: Publish (dry-run)
139137
run: |
140138
deno publish --dry-run

0 commit comments

Comments
 (0)