Skip to content

Commit

Permalink
chore: update deps and ci to deno2.
Browse files Browse the repository at this point in the history
  • Loading branch information
sylc committed Oct 11, 2024
1 parent 181ac51 commit 9b3adeb
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 116 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,32 @@ jobs:
runs-on: ${{ matrix.os }}
timeout-minutes: 3
strategy:
matrix:
matrix:
os: [
ubuntu-latest,
windows-latest,
macos-latest
]
ubuntu-latest,
windows-latest,
macos-latest,
]

steps:
- uses: denoland/setup-deno@v1
- uses: denoland/setup-deno@v2
with:
deno-version: v1.x
deno-version: v2.0.x
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"

- name: Check out repository code
uses: actions/checkout@v3

- name: lint
run: deno lint

- name: fmt
run: deno fmt --check

- name: Check
run: deno check ./mod.ts

- name: Run Test files in the repository
run: deno test -A
run: deno test -A

- run: echo "🍏 This job's status is ${{ job.status }}."
204 changes: 106 additions & 98 deletions deno.lock

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

4 changes: 2 additions & 2 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { Command } from "jsr:@cliffy/command@1.0.0-rc.4";
export { Checkbox } from "jsr:@cliffy/prompt@1.0.0-rc.4";
export { Command } from "jsr:@cliffy/command@1.0.0-rc.7";
export { Checkbox } from "jsr:@cliffy/prompt@1.0.0-rc.7";
4 changes: 2 additions & 2 deletions deps_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export {
assertEquals,
assertNotEquals,
assertStringIncludes,
} from "jsr:@std/assert@0.223.0";
export { delay } from "jsr:@std/async@0.223.0/delay";
} from "jsr:@std/assert@1.0.6";
export { delay } from "jsr:@std/async@1.0.6/delay";

0 comments on commit 9b3adeb

Please sign in to comment.