Skip to content

Commit

Permalink
Merge pull request #1008 from polyseam/deno2
Browse files Browse the repository at this point in the history
Build with Deno v2
  • Loading branch information
johnstonmatt authored Oct 18, 2024
2 parents 1f32100 + d7a567d commit 01ad002
Show file tree
Hide file tree
Showing 51 changed files with 3,738 additions and 2,998 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export DENO_FUTURE=1
12 changes: 6 additions & 6 deletions .github/workflows/bin-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: v1.46
deno-version: "v2.0.0"
- name: deno build-linux
run: deno task build-linux
- name: linux cndi --help
Expand All @@ -26,9 +26,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: v1.46
deno-version: "v2.0.0"
- name: deno build-mac
run: deno task build-mac
- name: mac cndi --help
Expand All @@ -39,9 +39,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: v1.46
deno-version: "v2.0.0"
- name: deno build-win
run: deno task build-win
- name: win cndi --help
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gh-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Deno
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: v1.46
deno-version: "v2.0.0"

- name: Checkout
uses: actions/checkout@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
uses: actions/checkout@v3

- name: use deno
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: v1.46
deno-version: v2.0.0

- run: deno lint

Expand All @@ -29,9 +29,9 @@ jobs:
uses: actions/checkout@v3

- name: use deno
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: v1.46
deno-version: v2.0.0

- run: deno task build

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
uses: actions/checkout@v3

- name: use deno
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: v1.46
deno-version: v2.0.0

- name: Check formatting
run: deno fmt --check
Expand Down
6 changes: 4 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.20.0",
"deno_version": "1.46.3",
"deno_version": "2.0.0",
"tasks": {
"tar-win": "tar -czvf dist/release-archives/cndi-win.tar.gz -C dist/win/in .",
"tar-linux": "tar -czvf dist/release-archives/cndi-linux.tar.gz -C dist/linux/in .",
Expand Down Expand Up @@ -71,7 +71,9 @@
"simple-git": "npm:[email protected]",
"src/": "./src/",
"test-deps": "./src/tests/deps.ts",
"validator": "npm:[email protected]"
"px": "./src/px/mod.ts",
"validator": "npm:[email protected]",
"errout": "./src/ErrOut.ts"
},
"lint": {
"exclude": ["dist/*"]
Expand Down
Loading

0 comments on commit 01ad002

Please sign in to comment.