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

Closed
sombraSoft wants to merge 1 commit from upstream-pr/286 into main
sombraSoft commented 2026-11-23 22:23:18 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by sombraSoft on 2026-11-23T22:23:18Z.


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).
  • #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.
<!-- greyfinch-sync:ivall/xcl:issue:5462259608 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/286). Originally posted by [sombraSoft](https://github.com/sombraSoft) on 2026-11-23T22:23:18Z. --- 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](https://github.com/actions/checkout/pull/2454); 7.0.1 also skips it for default inputs). - #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.
DavidM1911 commented 2026-11-25 15:08:06 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T15:03:40Z.


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

<!-- greyfinch-sync:ivall/xcl:comment:7166240602 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/286#issuecomment-7166240602). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T15:03:40Z. --- Verification on RTX 3060 Ti (Windows 11): **merge conflict with current `main`** — needs a rebase before it can be tested.
github-actions[bot] commented 2026-11-29 20:42:35 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T20:42:35Z.


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.

<!-- greyfinch-sync:ivall/xcl:comment:7262295479 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/286#issuecomment-7262295479). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-29T20:42:35Z. --- 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 commented 2026-12-01 03:04:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T03:04:21Z.


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.

<!-- greyfinch-sync:ivall/xcl:comment:7299291086 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/286#issuecomment-7299291086). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T03:04:21Z. --- **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.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!283
No description provided.