Repository navigation
CI: move to actions/checkout v7 and actions/cache v6 (Node 24) - #286
sombraSoft wants to merge 1 commit into
Conversation
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.
d4be1a1 to
64e5699
Compare
|
Verification on RTX 3060 Ti (Windows 11): merge conflict with current |
|
Nothing has happened on this PR for 3 days, so it is marked |
|
No other open PR bumps actions/checkout or actions/cache; #287 (same author) changes ci.yml in different lines. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
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→@v7andactions/cache@v4→@v6(Node 24). Nothing else in the newer majors affects this job:RUNNER_TEMPinstead of.git/config, and the job does not use it;pull_request_target/workflow_run;.github/workflows/pr-check.yml:actions/checkout@v4→@v7too. checkout v7 refuses to check out a fork PR's head underpull_request_target; this job checks outpull_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).actions/cachewithSwatinem/rust-cache. Whichever of the two merges second drops the cache line from this one.CI time
Tested
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
crates/xcl/srcchange.Not tested
pr-check.ymlon v7:pull_request_targetruns main's copy of the workflow, so this PR's version only runs after merge.AI use