ci: Update GitHub Actions to latest major versions - #1148
Open
kubode wants to merge 1 commit into
Open
Conversation
actions/cache@v3.3.2 is deprecated and now fails automatically, breaking every CI job at the setup stage. Update all actions to their latest major versions and pin to major tags so future patch deprecations don't break CI. Also update the release workflow, which was still on Node 16 runtime actions and Node 18.x (EOL). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
frolint の CI が全ジョブ失敗しており、master を含めどのブランチでも通らない。
原因は
actions/cache@v3.3.2の廃止。GitHub が deprecated バージョンのリクエストを自動失敗させるようになり、「Set up job」段階で全ジョブが落ちている。コードは一切実行されていない。2026-09-03 の実行は成功していたため、この間に強制失敗が発効した。
同じ理由で release.yml も危うい。
actions/checkout@v2/actions/setup-node@v2は Node16 ランタイムであり、GitHub 側のフォールバックで辛うじて動いている状態。加えて Node 18.x は EOL 済みで、CI が 20.x / 22.x でテストしているのにリリースビルドだけ 18.x という不整合もある。今回の失敗は「古いパッチバージョンにピン留めしたまま放置した」ことが根本原因のため、再発防止まで含めて対応したい。
Why not
changesets/action@v1は据え置き。v2 は input 名のリネーム(publish→publish-script等)とgithub-tokenの渡し方変更を含む破壊的変更が多く、リリースフローは master マージまで実地検証できないため、このPRのスコープからは外す。v1 タグは node24 ランタイムに更新済みで、ランタイム起因の廃止リスクはない。What
actions/cachev3.3.2 → v6actions/checkoutv4.1.1 / v2 → v7actions/setup-nodev4.0.0 / v2 → v7yarn lerna bootstrapを削除。postinstallで既に実行済みで冗長破壊的変更は確認済みで、いずれもこのリポジトリには影響しない。
pull_request_targetでの fork PR checkout をブロック → labeler.yml は checkout していないcache:を使わずactions/cacheを自前で使用