From 14e7d7c95aec4726ed8683ec2637a0699ebe31c7 Mon Sep 17 00:00:00 2001 From: Daniel Lamando Date: Mon, 11 Jul 2022 22:47:51 +0200 Subject: [PATCH] Use Deno 1.23 (was 1.16) --- .github/workflows/deno-ci.yml | 5 ++--- Dockerfile | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deno-ci.yml b/.github/workflows/deno-ci.yml index cf145ad..98bbf35 100644 --- a/.github/workflows/deno-ci.yml +++ b/.github/workflows/deno-ci.yml @@ -14,8 +14,7 @@ jobs: strategy: matrix: deno-version: - - v1.15 - - v1.16 + - v1.23 - canary fail-fast: false # run each branch to completion @@ -48,7 +47,7 @@ jobs: restore-keys: deno-https/v1- - name: Check entrypoint - run: time deno cache server.ts + run: time deno cache --check=all server.ts - name: Run any tests run: time deno test diff --git a/Dockerfile b/Dockerfile index 07cd07f..d6e7abc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM denoland/deno:alpine-1.16.4 +FROM denoland/deno:alpine-1.23.3 RUN apk add --no-cache graphviz ADD fonts/ /usr/share/fonts/truetype/ WORKDIR /src ADD deps.ts . -RUN deno cache deps.ts +RUN deno cache --check=all deps.ts ADD . . -RUN deno cache server.ts +RUN deno cache --check=all server.ts ENTRYPOINT ["deno","run","--allow-env","--allow-net=0.0.0.0,api.github.com,cdn.deno.land,registry.npmjs.org","--allow-run=deno,dot","--allow-read=.","server.ts"]