ci: replace deprecated Node 20 actions with controlled install steps#478
Merged
Conversation
`xavierLowmiller/xcodegen-action` and `mlugg/setup-zig` both still declare the Node 20 runtime at their latest versions, which GitHub forces to Node 24 on 2026-06-02 and removes entirely on 2026-09-16. - XcodeGen: install via `brew install xcodegen` - Zig: install via a pinned, checksum-verified download in a local composite action (`.github/actions/install-zig`), keeping the version and integrity check in one place for both workflows - Drop the unused `astral-sh/setup-uv` step from the release job (nothing in the workflow invokes uv; this also clears its empty cache-glob warning) Closes #151 Closes #229 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Both
xavierLowmiller/xcodegen-action@1.2.4andmlugg/setup-zig@v2still declare the Node 20 runtime even at their latest versions/main(verified against each action'saction.yml). GitHub forces Node 20 actions to Node 24 on 2026-06-02 and removes Node 20 from runners on 2026-09-16. Neither has an upstream Node 24 release to bump to, so this replaces them with steps we control.Changes
brew install xcodegen(per ci: update GitHub Actions using deprecated Node.js 20 #151's suggested alternative).github/actions/install-zig, referenced from both workflows so the version + integrity check live in one place. The action resolves the published sha256 fromziglang.org/download/index.jsonand verifies the archive before adding it toPATH.astral-sh/setup-uv@v8.1.0step from the release job — nothing in the workflow invokesuv(it's only used locally inscripts/setup.shfor prek hooks). This also clears the empty cache-glob warning noted in ci: update GitHub Actions using deprecated Node.js 20 runtime #229.Validation
actionlintparses all three files cleanly and resolves the local composite action reference; the only remaining warnings are pre-existing SC2086 infos on unchanged lines.OK,zig version→0.15.2.check yaml) pass.Closes #151
Closes #229
🤖 Generated with Claude Code