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

chore: fix deno workflow errors #944

Merged
merged 5 commits into from
Apr 29, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 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 Down Expand Up @@ -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
ryanleecode marked this conversation as resolved.
Show resolved Hide resolved
- uses: actions/cache@v3
with:
path: ~/.cache/deno
Expand Down
6 changes: 3 additions & 3 deletions _tasks/udd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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", {
ryanleecode marked this conversation as resolved.
Show resolved Hide resolved
args: ["run", "-A", "https://deno.land/x/[email protected]/main.ts", filePath],
}).spawn().output()
ryanleecode marked this conversation as resolved.
Show resolved Hide resolved
}