From 7cd8919d9ee75e40e8a3fc99de453ab59989adea Mon Sep 17 00:00:00 2001 From: Bryan Roscoe Date: Tue, 26 May 2026 12:37:05 -0500 Subject: [PATCH] Bump GitHub Actions to v5 to fix Windows checkout flakiness MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Tests run on PR #20's merge commit (46cf06c) failed on the windows-latest job — not in our Pester tests, but in `actions/checkout@v4` itself, with: fatal: could not read Username for 'https://github.com': terminal prompts disabled This is a known transient on the Windows runner image when checkout@v4 (Node.js 20) hits a particular auth state during `git fetch`. The same CI run produced a deprecation warning that Node 20 actions are being phased out (default flip to Node 24 in June 2026, full removal in September 2026). Bump both pinned actions to v5 (Node 24): - actions/checkout@v4 → v5 (both job blocks) - actions/upload-artifact@v4 → v5 Local Pester run is 121 passed / 4 skipped / 0 failed — the code is fine, the CI was wrong. This patch is workflow-only. --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 04aea57..9afaafb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,7 +29,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install Pester shell: pwsh @@ -55,7 +55,7 @@ jobs: } - name: Upload test results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 if: always() with: name: test-results-${{ matrix.os }} @@ -67,7 +67,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Check PowerShell syntax shell: pwsh