Skip to content

Update GitHub Actions to current major versions - #736

Merged
wasabii merged 6 commits into
mainfrom
claude/github-actions-upgrades-736327
Aug 21, 2026
Merged

Update GitHub Actions to current major versions#736
wasabii merged 6 commits into
mainfrom
claude/github-actions-upgrades-736327

Conversation

@wasabii

@wasabii wasabii commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Bumps every action referenced by .github/workflows/IKVM.yml to its latest release. Per request, the GitVersion actions are left untouched.

Upgraded

Action From To
actions/checkout v5 v7
actions/cache v5 v6
actions/setup-dotnet v4 v6
actions/upload-artifact v6 v7
actions/download-artifact v4 v8
actions/github-script v7 v9
Vampire/setup-wsl v3 v7
robinraju/release-downloader v1.9 v1.13
ncipollo/release-action v1.14.0 v1.21.0
jlumbroso/free-disk-space @main v1.3.1

Left alone

  • gittools/actions/gitversion/* — excluded by request.
  • andstor/file-existence-action@v3, baptiste0928/cargo-install@v3, whelk-io/maven-settings-xml-action@v22 — already on the latest major.
  • pierotofy/set-swap-space@master — master is 4 commits ahead of the only tag (v1.0, 2021), including a fix for hosts with no existing swapfile. Pinning to v1.0 would be a regression, so this stays on the floating ref.

jlumbroso/free-disk-space's main and v1.3.1 currently point at identical trees, so that change is behavior-neutral and just removes an unpinned branch ref.

Notes on breaking changes

Most of these majors are Node 20 → Node 24 runtime bumps plus a CommonJS → ESM migration, both transparent to callers. The workflow already used checkout@v5 / cache@v5 / upload-artifact@v6, so the runners already meet the 2.327.1 minimum these versions require. The changes worth a second look:

  • download-artifact v8 now errors on a download digest mismatch instead of warning (digest-mismatch input, defaults to error). It also skips unzipping non-zip downloads based on Content-Type — irrelevant here since every artifact is uploaded through upload-artifact and therefore zipped. The v5 path change for single-artifact-by-ID downloads does not apply; all downloads in this workflow are by name.
  • github-script v9 breaks scripts that require('@actions/github') or redeclare getOctokit. The only script here is the three-line Get Test Name step, which does neither.
  • checkout v7 blocks checking out fork PR refs under pull_request_target / workflow_run. This workflow uses plain pull_request, so it is unaffected.
  • setup-dotnet v6 picks up the refreshed install-dotnet scripts, which fixes the link_types[$link_index]: unbound variable failure installing .NET 10 on the macos-13 image (install-dotnet.sh keeps failing to install .NET 10.0.x on macos-13 image actions/setup-dotnet#645). Support for installing 6.0.x/7.0.x is unchanged.
  • Vampire/setup-wsl v7 is the one with real behavior change. The step passes no inputs, so it rides the defaults: v3 always used WSLv1 and defaulted to the Debian distribution, while v6+ always use WSLv2 and v7 defaults to Debian-13 (the old Debian entry was removed). v5+ also only issue the WSL update command on GitHub-hosted windows-2022, and the test job runs on a custom windows-2025-vs2026 label — if that image turns out to lack the WSL2 update, this step will need wsl-version: 1 or a pre-step to install it.

Not build-validated locally; the workflow run on this PR is the check.

Bumps every third-party action in the IKVM workflow to its latest
release, except the GitVersion actions which are intentionally left on
v3/5.x.

Also pins jlumbroso/free-disk-space from the floating `main` branch to
v1.3.1; the tag and `main` currently point at identical trees, so this
is a no-op for behavior while removing an unpinned ref.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@wasabii
wasabii merged commit a8ea414 into main Aug 21, 2026
98 checks passed
@wasabii
wasabii deleted the claude/github-actions-upgrades-736327 branch August 21, 2026 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant