From 21f0b6d6ff342d42447035e1117edb4ad812283c Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 26 Mar 2026 10:29:55 -0400 Subject: [PATCH 1/2] fix: use plugins.dprint.dev for release artifacts --- .github/workflows/ci.generate.ts | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- scripts/create_plugin_file.ts | 6 +----- scripts/generate_release_notes.ts | 2 +- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index 9151c1a..3b61114 100644 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -98,7 +98,7 @@ const ci = { "git config --global core.eol lf", ].join("\n"), }, - { uses: "actions/checkout@v4" }, + { uses: "actions/checkout@v6" }, { uses: "dsherret/rust-toolchain-file@v1" }, { name: "Cache cargo", diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c32e57..9e94b3a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: run: |- git config --global core.autocrlf false git config --global core.eol lf - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: dsherret/rust-toolchain-file@v1 - name: Cache cargo if: 'startsWith(github.ref, ''refs/tags/'') != true' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b12a22..0fe995d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,4 +34,4 @@ jobs: run: | git config user.email "${{ github.actor }}@users.noreply.github.com" git config user.name "${{ github.actor }}" - deno run -A https://raw.githubusercontent.com/dprint/automation/0.10.0/tasks/publish_release.ts --${{github.event.inputs.releaseKind}} + deno run -A jsr:@dprint/automation@0.10.3/tasks/publish-release --${{github.event.inputs.releaseKind}} diff --git a/scripts/create_plugin_file.ts b/scripts/create_plugin_file.ts index 3b02137..4686c8d 100644 --- a/scripts/create_plugin_file.ts +++ b/scripts/create_plugin_file.ts @@ -1,8 +1,4 @@ -import { - $, - CargoToml, - processPlugin, -} from "https://raw.githubusercontent.com/dprint/automation/0.10.0/mod.ts"; +import { $, CargoToml, processPlugin } from "jsr:@dprint/automation@0.10.3"; const currentDirPath = $.path(import.meta.dirname!); const cargoFilePath = currentDirPath.join("../Cargo.toml"); diff --git a/scripts/generate_release_notes.ts b/scripts/generate_release_notes.ts index f7444aa..b3859e3 100644 --- a/scripts/generate_release_notes.ts +++ b/scripts/generate_release_notes.ts @@ -1,4 +1,4 @@ -import { generateChangeLog } from "https://raw.githubusercontent.com/dprint/automation/0.10.0/changelog.ts"; +import { generateChangeLog } from "jsr:@dprint/automation@0.10.3"; const version = Deno.args[0]; const checksum = Deno.args[1]; From 790f1d48ad8a54780d7f44385e1e870b00edf0fb Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 26 Mar 2026 10:31:24 -0400 Subject: [PATCH 2/2] fix build --- .github/workflows/ci.generate.ts | 2 +- .github/workflows/ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index 3b61114..65a59ad 100644 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -1,7 +1,7 @@ import * as yaml from "https://deno.land/std@0.170.0/encoding/yaml.ts"; enum OperatingSystem { - Macx86 = "macos-13", + Macx86 = "macos-15-intel", MacArm = "macos-latest", Windows = "windows-latest", Linux = "ubuntu-22.04", diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e94b3a..6f6fb41 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: config: - - os: macos-13 + - os: macos-15-intel run_tests: 'true' target: x86_64-apple-darwin cross: 'false'