Skip to content

Commit 0f6a0b5

Browse files
committed
Update CI
1 parent 2f79d2e commit 0f6a0b5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/deno-ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
deno-version:
17-
- v1.43
17+
- v2.2
1818
- canary
1919
fail-fast: false # run each branch to completion
2020

@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/checkout@v4
2424

2525
- name: Use Deno ${{ matrix.deno-version }}
26-
uses: denoland/setup-deno@v1
26+
uses: denoland/setup-deno@v2
2727
with:
2828
deno-version: ${{ matrix.deno-version }}
2929

@@ -47,10 +47,10 @@ jobs:
4747
restore-keys: deno-https/v1-
4848

4949
- name: Check entrypoint
50-
run: time deno check server.ts
50+
run: time deno check --allow-import=deno.land,crux.land server.ts
5151

5252
- name: Run any tests
53-
run: time deno test
53+
run: time deno test --allow-import=deno.land,crux.land
5454

5555
# Push image to GitHub Packages.
5656
# See also https://docs.docker.com/docker-hub/builds/

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ ADD deps.ts .
88
RUN deno check deps.ts
99
ADD . .
1010
RUN deno check entrypoint.ts
11-
ENTRYPOINT ["deno","run","--allow-sys","--allow-env","--allow-net","--allow-run=deno,dot","--allow-read=.","entrypoint.ts"]
11+
ENTRYPOINT ["deno","run","--allow-sys","--allow-env","--allow-net","--allow-run=deno,dot","--allow-read=.","--allow-import=deno.land,crux.land","entrypoint.ts"]

0 commit comments

Comments
 (0)