Skip to content

Commit

Permalink
Bump Deno runtime 1.46.3, [email protected] (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
petruki authored Sep 15, 2024
1 parent cbe918d commit 6bba9be
Show file tree
Hide file tree
Showing 8 changed files with 118 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup Deno v1.45.4
- name: Setup Deno v1.46.3
uses: denoland/setup-deno@v1
with:
deno-version: v1.45.4
deno-version: v1.46.3

- name: Setup LCOV
run: sudo apt install -y lcov
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:

- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/re-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.inputs.tag }}

- name: Setup Deno v1.45.4
- name: Setup Deno v1.46.3
uses: denoland/setup-deno@v1
with:
deno-version: v1.45.4
deno-version: v1.46.3

- name: Verify formatting
run: deno task fmt
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
push: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup Deno v1.45.4
- name: Setup Deno v1.46.3
uses: denoland/setup-deno@v1
with:
deno-version: v1.45.4
deno-version: v1.46.3

- name: Verify formatting
run: deno task fmt
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
push: true
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM denoland/deno:alpine-1.45.4
FROM denoland/deno:alpine-1.46.3

ENV APP_HOME=/home/app
WORKDIR $APP_HOME
Expand Down
102 changes: 102 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Application, load } from './deps.ts';
import { responseTime, responseTimeLog } from './middleware/index.ts';

await load({ export: true, envPath: getEnv('ENV_PATH', '.env'), allowEmptyValues: true });
await load({ export: true, envPath: getEnv('ENV_PATH', '.env') });

import Helmet from './middleware/helmet.ts';
import { getEnv } from './utils.ts';
Expand Down
6 changes: 3 additions & 3 deletions src/deps.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export { Application, Context, type Middleware, type Next, Router } from 'jsr:@oak/oak@16.1.0';
export { Application, Context, type Middleware, type Next, Router } from 'jsr:@oak/oak@17.0.0';
export { Client } from 'jsr:@switcherapi/[email protected]';
export { ValidatorFn, ValidatorMiddleware } from 'jsr:@trackerforce/[email protected]';
export { load } from 'https://deno.land/std@0.224.0/dotenv/mod.ts';
export { bold, cyan, green } from 'https://deno.land/std@0.224.0/fmt/colors.ts';
export { load } from 'jsr:@std/dotenv@0.225.2';
export { bold, cyan, green } from 'jsr:@std/[email protected]/colors';
4 changes: 2 additions & 2 deletions test/deps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { type Middleware, testing } from 'jsr:@oak/oak@16.1.0';
export { type Middleware, testing } from 'jsr:@oak/oak@17.0.0';
export { Client } from 'jsr:@switcherapi/[email protected]';
export { superoak } from 'https://deno.land/x/[email protected]/mod.ts';
export { assert, assertEquals, assertFalse, assertObjectMatch } from 'https://deno.land/std@0.224.0/assert/mod.ts';
export { assert, assertEquals, assertFalse, assertObjectMatch } from 'jsr:@std/[email protected]';

0 comments on commit 6bba9be

Please sign in to comment.