From 050685002bfcd6fe11818c02debb2107f5491eea Mon Sep 17 00:00:00 2001 From: amrali-eg <32075105+amrali-eg@users.noreply.github.com> Date: Wed, 26 Aug 2026 22:46:58 +0300 Subject: [PATCH] Bump GitHub Actions off the deprecated Node 20 runtime actions/checkout v4 and setup-dotnet v4 both target Node 20, which GitHub is already forcing onto Node 24 with a deprecation warning on every run. That shim will not last. actions/checkout v4 -> v7 actions/setup-dotnet v4 -> v6 Three and two majors respectively, so the release notes were read rather than assumed. Nothing in them affects these workflows: - checkout v5 moves to Node 24 and needs runner 2.327.1 or newer; the hosted runners are well past that. - checkout v6 changes where credentials are persisted, which matters only to workflows that read them back. - checkout v7 converts to ESM and blocks checking out a fork PR under pull_request_target or workflow_run; neither trigger is used here. - setup-dotnet v5 and v6 are Node 24 runtime updates. Every input used here still exists in v6. Co-Authored-By: Claude Opus 5 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5331033..4b408e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,9 +11,9 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - - uses: actions/setup-dotnet@v4 + - uses: actions/setup-dotnet@v6 with: dotnet-version: "10.0.x" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5de1064..74ecfe6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,9 +17,9 @@ jobs: CODE_SIGNING_CERT_PASSWORD: ${{ secrets.CODE_SIGNING_CERT_PASSWORD }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - - uses: actions/setup-dotnet@v4 + - uses: actions/setup-dotnet@v6 with: dotnet-version: "10.0.x"