Skip to content

CI: move to actions/checkout v7 and actions/cache v6 (Node 24) - #286

Open
sombraSoft wants to merge 1 commit into
xcl-dev:mainfrom
sombraSoft:ci/actions-bump
Open

sombraSoft wants to merge 1 commit into
xcl-dev:mainfrom
sombraSoft:ci/actions-bump

Conversation

@sombraSoft

@sombraSoft sombraSoft commented Nov 23, 2026 •

Copy link
Copy Markdown

Moves CI to actions/checkout v7 and actions/cache v6. Both v4 releases run on Node 20, which GitHub has deprecated, so every CI run carries a warning annotation.

Part of #265

What is in it

  • .github/workflows/ci.yml: actions/checkout@v4 → @v7 and actions/cache@v4 → @v6 (Node 24). Nothing else in the newer majors affects this job:
    • checkout v6 keeps the persisted token under RUNNER_TEMP instead of .git/config, and the job does not use it;
    • checkout v7 refuses fork checkouts only under pull_request_target / workflow_run;
    • cache v6 keeps the same inputs and service.
  • .github/workflows/pr-check.yml: actions/checkout@v4 → @v7 too. checkout v7 refuses to check out a fork PR's head under pull_request_target; this job checks out pull_request.base.sha (main's checker), never the PR head, so the check does not fire (actions/checkout#2454; 7.0.1 also skips it for default inputs).
  • CI: cache Cargo with rust-cache, saved from main only #274 replaces actions/cache with Swatinem/rust-cache. Whichever of the two merges second drops the cache line from this one.

CI time

  • 0: same steps, newer action versions.

Tested

  • Fork run, green: https://github.com/sombraSoft/xcl/actions/runs/45278059062. Its build check run has no annotations, so the Node 20 deprecation warning that v4 produces is gone.
  • Full suite on main (9ab7d76), RTX 3060 Ti (driver 621.24), Ryzen 9 5900X, Windows 11, rustc 1.97.1, debug: scripts/test.ps1 → 651 passed, 0 failed, 40 ignored; SKIPPED: 2 (no wave64). This PR changes only CI config, so the compiled code is the same.

Regression run

  • Not needed: no crates/xcl/src change.

Not tested

  • pr-check.yml on v7: pull_request_target runs main's copy of the workflow, so this PR's version only runs after merge.
  • A cold cache. The fork run restored an existing cache; cache v6 uses the same key and service.

AI use

  • Claude Code (Claude Opus 5.5) wrote the change and this description; I read the diff.

checkout v4 and cache v4 run on Node 20, which GitHub has deprecated: every CI run
carries a warning annotation for it. checkout v5+ and cache v5+ run on Node 24. Nothing
else in the newer majors changes this job: checkout v6 keeps the persisted token in a
file under RUNNER_TEMP instead of .git/config (the job never uses it), checkout v7 refuses
fork checkouts only under pull_request_target / workflow_run (this workflow uses
pull_request), and cache v6 keeps the same inputs and cache service.
@DavidM1911

Copy link
Copy Markdown
Contributor

Verification on RTX 3060 Ti (Windows 11): merge conflict with current main — needs a rebase before it can be tested.

@github-actions

Copy link
Copy Markdown

Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

@Foniass

Foniass commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Triage (#1607) – head 64e5699

No other open PR bumps actions/checkout or actions/cache; #287 (same author) changes ci.yml in different lines.
Since this branch was cut, main added auto-triage.yml, discord-mirror.yml, issue-spam-filter.yml and testing-feed.yml, which still use actions/checkout@v4; the PR conflicts with main and leaves those on v4. Rebasing and bumping them too would make the move to Node 24 complete.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

@github-actions github-actions Bot removed the stale No activity for 3 days; closed 4 days later unless something happens label Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

off-goal Does not bear on the current goal (world loading); waits until it is reached

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants