-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update dependencies including deno_core (#90)
- Loading branch information
Showing
19 changed files
with
3,075 additions
and
3,045 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import * as yaml from "https://deno.land/[email protected]/encoding/yaml.ts"; | ||
import $ from "https://deno.land/x/dax@0.35.0/mod.ts"; | ||
import * as yaml from "@std/yaml"; | ||
import $ from "dax"; | ||
|
||
enum Runner { | ||
Mac13 = "macos-13", | ||
MacLatest = "macos-latest", | ||
Windows = "windows-latest", | ||
// uses an older version of ubuntu because of issue dprint/#483 | ||
// uses an older version of ubuntu because of issue dprint/#483 | ||
Linux = "ubuntu-20.04", | ||
} | ||
|
||
|
@@ -100,11 +100,11 @@ const ci = { | |
if: `matrix.config.target == 'aarch64-apple-darwin'`, | ||
run: "rustup target add aarch64-apple-darwin", | ||
}, | ||
{ uses: "denoland/setup-deno@v1" }, | ||
{ uses: "denoland/setup-deno@v2" }, | ||
{ | ||
uses: "actions/setup-node@v4", | ||
with: { | ||
"node-version": 18, | ||
"node-version": 21, | ||
}, | ||
}, | ||
{ | ||
|
@@ -115,8 +115,8 @@ const ci = { | |
name: "Setup cross", | ||
if: "matrix.config.cross == 'true'", | ||
run: [ | ||
"deno task build", | ||
"cargo install cross --git https://github.com/cross-rs/cross --rev 44011c8854cb2eaac83b173cc323220ccdff18ea", | ||
"cd js/node && npm run build:script", | ||
"cargo install cross --locked --git https://github.com/cross-rs/cross --rev 44011c8854cb2eaac83b173cc323220ccdff18ea", | ||
].join("\n"), | ||
}, | ||
{ | ||
|
@@ -209,9 +209,9 @@ const ci = { | |
needs: "build", | ||
"runs-on": "ubuntu-latest", | ||
steps: [ | ||
{ name: "Checkout", uses: "actions/checkout@v2" }, | ||
{ name: "Checkout", uses: "actions/checkout@v4" }, | ||
{ name: "Download artifacts", uses: "actions/download-artifact@v4" }, | ||
{ uses: "denoland/setup-deno@v1" }, | ||
{ uses: "denoland/setup-deno@v2" }, | ||
{ | ||
name: "Move downloaded artifacts to root directory", | ||
run: profiles.map((profile) => { | ||
|
@@ -246,7 +246,7 @@ const ci = { | |
// }, | ||
{ | ||
name: "Release", | ||
uses: "softprops/action-gh-release@v1", | ||
uses: "softprops/action-gh-release@v2", | ||
env: { GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" }, | ||
with: { | ||
files: [ | ||
|
@@ -297,9 +297,8 @@ In a dprint configuration file: | |
|
||
let finalText = `# GENERATED BY ./ci.generate.ts -- DO NOT DIRECTLY EDIT\n\n`; | ||
finalText += yaml.stringify(ci, { | ||
noRefs: true, | ||
lineWidth: 10_000, | ||
noCompatMode: true, | ||
compatMode: false, | ||
}); | ||
|
||
Deno.writeTextFileSync(new URL("./ci.yml", import.meta.url), finalText); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.