Skip to content

Commit 7a9c509

Browse files
committed
chore: ci
1 parent 2fbb86a commit 7a9c509

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/ci.yml

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

3+
env:
4+
DENO_VERSION: 1.x
5+
36
on: [push, pull_request]
47

58
jobs:
69
test:
710
runs-on: ubuntu-latest
811
steps:
9-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1013
- uses: denoland/setup-deno@v1
1114
with:
12-
deno-version: "v1.x"
15+
deno-version: ${{ env.DENO_VERSION }}
1316
- name: Check fmt & lint & type check & test
1417
run: deno task check:dry

.github/workflows/udd.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# ported from https://github.com/jsr-core/unknownutil/blob/v3.18.1/.github/workflows/udd.yml and modified a bit
22
name: Update
33

4+
env:
5+
DENO_VERSION: 1.x
6+
47
on:
58
schedule:
69
- cron: "0 0 * * *"
@@ -13,7 +16,7 @@ jobs:
1316
- uses: actions/checkout@v4
1417
- uses: denoland/setup-deno@v1
1518
with:
16-
deno-version: "1.x"
19+
deno-version: ${{ env.DENO_VERSION }}
1720
- name: Update dependencies
1821
run: |
1922
deno task update > ../output.txt

0 commit comments

Comments
 (0)