Skip to content

ci: bump actions/checkout v4 → v6 + opt JS actions into Node 24#128

Merged
cameronfreer merged 3 commits into
mainfrom
bump-ci-actions
May 27, 2026
Merged

ci: bump actions/checkout v4 → v6 + opt JS actions into Node 24#128
cameronfreer merged 3 commits into
mainfrom
bump-ci-actions

Conversation

@cameronfreer

Copy link
Copy Markdown
Owner

Summary

CI annotations on recent runs warn that five Node.js 20 actions will be force-bumped to Node.js 24 on 2026-06-02 (6 days from now). Getting ahead of that with a small two-file change.

Action Where Fix
actions/checkout@v4 direct in both our workflows bump to @v6 (latest is v6.0.2, supports Node 24)
actions/cache@5a3ec84e, actions/deploy-pages@d6db9016, actions/upload-artifact@v4, ruby/setup-ruby@eaecf785f transitive (inside leanprover/lean-action@main and leanprover-community/docgen-action@main) can't bump directly; instead add workflow-level env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' (GitHub-recommended interim opt-in)

Once the third-party actions ship Node 24 builds, the env var can come out. Documented inline in both files.

Net: 2 files, +14 / −2.

Test plan

  • yaml.safe_load parses both workflows cleanly
  • Will be exercised by the next merge to main (this PR itself triggers blueprint-check.yml)

CI annotation on the last few runs warns that Node.js 20 actions are
deprecated and will be forced to Node.js 24 by default on 2026-06-02.
The annotation listed five affected actions:

* `actions/checkout@v4` — used directly in both our workflows
* `actions/cache@5a3ec84e`, `actions/deploy-pages@d6db9016`,
  `actions/upload-artifact@v4`, `ruby/setup-ruby@eaecf785f` — used
  transitively from `leanprover/lean-action@main` and
  `leanprover-community/docgen-action@main`; we can't bump those
  directly.

Changes:

* Bump our `actions/checkout@v4` → `actions/checkout@v6` (latest is
  v6.0.2; v6 supports Node.js 24).
* Add `env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'` at the workflow
  level in both `blueprint.yml` and `blueprint-check.yml`. This is the
  GitHub-recommended interim opt-in until the third-party actions ship
  Node.js 24 builds, after which the env var can come out.

Net: 2 files, +14 / −2.
Missed in the previous commit (Edit tool needed a Read first). Same
two-line change as blueprint.yml: bump `actions/checkout@v4` → `@v6`
and add the workflow-level `FORCE_JAVASCRIPT_ACTIONS_TO_NODE24` env.
Per GitHub's Node 20 deprecation changelog, the
`FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true` opt-in remains correct but
the default switchover is 2026-06-16, not 2026-06-02 as the comments
said. Comment-only change in both workflows; the env var stays.
@cameronfreer cameronfreer merged commit e58aa6e into main May 27, 2026
1 check passed
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