chore: bump actions/cache + actions/checkout to v5 (Node 24) - #8
Conversation
GitHub is deprecating Node 20 on Actions runners (2025-09-19). Our composite action used actions/cache@v4 and the dogfood workflow used actions/checkout@v4, both targeting Node 20. Consumer runs flagged: Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4 Bump both to v5, which targets Node 24. - action.yml: actions/cache@v4 -> actions/cache@v5 - .github/workflows/dogfood.yml: actions/checkout@v4 -> actions/checkout@v5 No behavior change; no dist rebuild (action.yml is composite).
|
✅ CAN MERGE Coordinator synthesisCAN MERGE 三位审查员一致认为此 PR 仅涉及两个 GitHub Actions 依赖的常规版本升级( Blocking Issues 无 Warnings
Suggestions
quality · $0.000248 · cacheRead 1408Review Result CAN MERGE 本次变更将两个 GitHub Actions 依赖从 v4 升级到 v5,分别是 Blocking Issues: None Warnings: None Suggestions:
security · $0.000118 · cacheRead 5888CAN MERGE 本次提交仅将两个正式 GitHub Action 从 Blocking Issues: None Warnings:
Suggestions: None performance · $0.000582 · cacheRead 1280审查结果CAN MERGE 总结此 PR 仅涉及两个 GitHub Actions 版本号的常规升级:
两个升级均为同一系列内的次要/补丁版本更新,不涉及破坏性变更。 Blocking IssuesNone WarningsNone Suggestions
pi-review-agent · total cost $0.001189 · cacheRead 9344 |
问题
GitHub 2025-09-19 起 deprecate Node 20 runner。我们的 action 在 consumer 仓库跑时出现:
来源:changelog
改动
action.ymlactions/cache@v4→actions/cache@v5.github/workflows/dogfood.ymlactions/checkout@v4→actions/checkout@v5两个 v5 release 都已升级到 Node 24:
验证
python3 -c "import yaml; ..."两个文件均解析成功actions/cache@v5、actions/checkout@v5备注
dist/(action.yml 是 composite 定义,无代码改动)actions/checkout@v7(latex-agent 自托管内部 tag)不在本 repo 范围