chore(actions): move cache and artifact actions onto Node 24 - #32
Merged
Merged
Conversation
GitHub is deprecating Node 20 on Actions runners. actions/cache, actions/upload-artifact and actions/download-artifact were all pinned to v4, which declares `using: node20`, so every consumer of the `run` and `record` actions got a deprecation annotation on an otherwise green run. The Node 24 default landed in different majors per action, so this takes each to the current release rather than a uniform version: - actions/cache v4 -> v6.1.0 - actions/upload-artifact v4 -> v7.0.1 - actions/download-artifact v4 -> v8.0.1 Applied to both composite actions and to e2e.yml, all still SHA-pinned. The artifact round-trip is unaffected: uploads pass a directory, so v7 still zips them by default (`archive` only changes single-file uploads), and the `pattern: twd-run-*` download still yields the per-shard directory layout `twd-cli merge` expects. download-artifact v8 now errors rather than warns on a digest mismatch, which is the behaviour we want. Note for consumers: upload-artifact v6+ and download-artifact v7+ require Actions Runner 2.327.1 or newer. GitHub-hosted runners are well past that; anyone running the `run` or `record` action on self-hosted runners needs to be current. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
TWD Contract Validation
23 passed · 41 failed · 3 warnings · 1 skipped Failed validations./contracts/users-3.0.json
./contracts/posts-3.1.json
./contracts/products-3.0.json
./contracts/events-3.1.json
|
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.
GitHub is deprecating Node 20 on Actions runners.
actions/cache,actions/upload-artifactandactions/download-artifactwere all pinned to v4, which declaresusing: node20, so every consumer of therunandrecordactions gets a deprecation annotation on an otherwise green run.The Node 24 default landed in a different major for each action, so this takes each to its current release rather than a uniform version:
actions/cacheactions/upload-artifactactions/download-artifactApplied to both composite actions (
run,record) and toe2e.yml. Everything stays SHA-pinned, andruns.using: node24was verified on each new SHA.Why the artifact round-trip still works
archive: falsefor single-file direct uploads. Both call sites pass a directory, so the default (archive: true) keeps the existing zip behaviour.Content-Type. Our uploads are still zips, so they unzip as before.pattern: twd-run-*download still produces the per-shard directory layouttwd-cli mergeexpects.Consumer note
upload-artifactv6+ anddownload-artifactv7+ require Actions Runner 2.327.1 or newer. GitHub-hosted runners are well past that; anyone invoking therunorrecordaction on self-hosted runners needs to be current.🤖 Generated with Claude Code