Skip to content

Commit

Permalink
[NO-ISSUE] Upgrade to Deno 1.3.1 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
asos-craigmorten authored Aug 26, 2020
1 parent 6510689 commit c7a9683
Show file tree
Hide file tree
Showing 9 changed files with 200 additions and 177 deletions.
5 changes: 5 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# ChangeLog

## [2.2.0] - 24-08-2020

- feat: upgrade supported Deno to `1.3.1` and std module to `0.66.0`.
- feat: upgrade superdeno dep.

## [2.1.0] - 05-08-2020

- chore: upgrade supported Deno and std module versions to `1.2.2` and `0.63.0`.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
node-version: 12
- name: Install deps
run: make deps
- name: Use Deno v1.2.2
- name: Use Deno
uses: denolib/setup-deno@v2
with:
deno-version: 1.2.2
deno-version: 1.3.1
- run: make typedoc
- run: make ci
- name: Publish Updated Type Docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-egg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: denolib/setup-deno@v2
with:
deno-version: 1.2.2
deno-version: 1.3.1
- run: deno install -A -f --unstable -n eggs https://x.nest.land/[email protected]/mod.ts
- run: |
export PATH="/home/runner/.deno/bin:$PATH"
Expand Down
26 changes: 22 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ on:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

test:
strategy:
matrix:
deno-version: [1.2.2]
os: [ubuntu-latest, macos-latest]
deno-version: [1.3.1]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
Expand All @@ -21,3 +22,20 @@ jobs:
with:
deno-version: ${{ matrix.deno-version }}
- run: make ci

test-win:
strategy:
matrix:
os: [windows-latest]
deno-version: [1.3.1]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Use Deno ${{ matrix.deno-version }}
uses: denolib/setup-deno@v2
with:
deno-version: ${{ matrix.deno-version }}
- run: make build
- run: make test
6 changes: 3 additions & 3 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export { Server } from "https://deno.land/std@0.63.0/http/server.ts";
export { Server } from "https://deno.land/std@0.66.0/http/server.ts";
export {
superdeno,
SuperDeno,
Test,
IRequest,
IResponse,
} from "https://deno.land/x/superdeno@2.1.1/mod.ts";
export { methods } from "https://deno.land/x/opine@0.20.2/mod.ts";
} from "https://deno.land/x/superdeno@2.2.1/mod.ts";
export { methods } from "https://deno.land/x/opine@0.21.3/mod.ts";
export { getFreePort } from "https://deno.land/x/[email protected]/mod.ts";
2 changes: 1 addition & 1 deletion egg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "superoak",
"description": "HTTP assertions for Oak made easy via SuperDeno.",
"version": "2.1.0",
"version": "2.2.0",
"repository": "https://github.com/asos-craigmorten/superoak",
"stable": true,
"files": [
Expand Down
324 changes: 162 additions & 162 deletions lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions test/deps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from "https://deno.land/x/[email protected]/mod.ts";
export { dirname, join } from "https://deno.land/[email protected]/path/mod.ts";
export * from "https://deno.land/x/[email protected]/mod.ts";
export { expect } from "https://deno.land/x/[email protected]/mod.ts";
export { dirname, join } from "https://deno.land/[email protected]/path/mod.ts";
export { isFreePort } from "https://deno.land/x/[email protected]/mod.ts";
4 changes: 2 additions & 2 deletions version.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* Version of SuperOak.
*/
export const VERSION: string = "2.1.0";
export const VERSION: string = "2.2.0";

/**
* Supported versions of Deno.
*/
export const DENO_SUPPORTED_VERSIONS: string[] = ["1.2.2"];
export const DENO_SUPPORTED_VERSIONS: string[] = ["1.3.1"];

0 comments on commit c7a9683

Please sign in to comment.