Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
chore: pin deno to 1.32.X
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanleecode committed Apr 28, 2023
1 parent c7c4993 commit 6b160c3
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@9db7f66e8e16b5699a514448ce994936c63f0d54 # v1.1.0
with:
deno-version: v1.x
deno-version: v1.32.x
- run: deno lint

spellcheck:
Expand All @@ -45,7 +45,7 @@ jobs:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@9db7f66e8e16b5699a514448ce994936c63f0d54 # v1.1.0
with:
deno-version: v1.x
deno-version: v1.32.x
- uses: actions/cache@v3
with:
path: ~/.cache/deno
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@9db7f66e8e16b5699a514448ce994936c63f0d54 # v1.1.0
with:
deno-version: v1.x
deno-version: v1.32.x
- run: deno task sync --check
- name: Archive target
uses: actions/upload-artifact@v3
Expand All @@ -97,7 +97,7 @@ jobs:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@9db7f66e8e16b5699a514448ce994936c63f0d54 # v1.1.0
with:
deno-version: v1.x
deno-version: v1.32.x
- uses: actions/cache@v3
with:
path: ~/.cache/deno
Expand All @@ -116,7 +116,7 @@ jobs:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@9db7f66e8e16b5699a514448ce994936c63f0d54 # v1.1.0
with:
deno-version: v1.x
deno-version: v1.32.x
- uses: actions/cache@v3
with:
path: ~/.cache/deno
Expand All @@ -133,7 +133,7 @@ jobs:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@9db7f66e8e16b5699a514448ce994936c63f0d54 # v1.1.0
with:
deno-version: v1.x
deno-version: v1.32.x
- uses: actions/cache@v3
with:
path: ~/.cache/deno
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@9db7f66e8e16b5699a514448ce994936c63f0d54 # v1.1.0
with:
deno-version: v1.x
deno-version: v1.32.x
- name: Retrieve Version
if: startsWith(github.ref, 'refs/tags/')
id: get_tag_version
Expand Down
7 changes: 4 additions & 3 deletions _tasks/udd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ for await (
await Promise.all(pending)

async function udd(filePath: string) {
await Deno
.run({ cmd: ["deno", "run", "-A", "https://deno.land/x/[email protected]/main.ts", filePath] })
.status()
await new Deno.Command("deno", {
args: ["run", "-A", "https://deno.land/x/[email protected]/main.ts", filePath],
}).spawn()
.status
}
1 change: 1 addition & 0 deletions deps/shims/Deno.node.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// deno-lint-ignore-file
import { Command } from "./command.node.ts"

declare const process: { env: Record<string, string> }
Expand Down
1 change: 1 addition & 0 deletions deps/shims/command.node.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// deno-lint-ignore-file
import { readableStreamFromReader, writableStreamFromWriter } from "../std/streams.ts"

export class Command implements Deno.Command {
Expand Down

0 comments on commit 6b160c3

Please sign in to comment.