Skip to content

CI: actionlint が弾く古い GitHub Actions を新バージョンへ更新#114

Draft
kojira wants to merge 1 commit into
alpha-0.2from
cursor/fix-ci-actionlint-5520
Draft

CI: actionlint が弾く古い GitHub Actions を新バージョンへ更新#114
kojira wants to merge 1 commit into
alpha-0.2from
cursor/fix-ci-actionlint-5520

Conversation

@kojira

@kojira kojira commented Jun 30, 2026

Copy link
Copy Markdown
Member

概要

actions-test ジョブ(actionlint)が the runner of "..." action is too old to run on GitHub Actions を検出して失敗していた問題を修正します。

これは alpha-0.2もともと存在する CI 失敗で、参拝高速化/ログイン修正(PR #113)とは独立した別件のため、本PRで分離して対応します。

原因

GitHub Actions 側でランタイムが廃止された古いアクションバージョンを使用していたため、actionlint がエラーを返していた。

変更内容

setup.yml / dev-deploy.yml / prod-deploy.yml のアクションを、入力仕様が互換な最新メジャーへ更新:

アクション 変更
actions/checkout v3v4
actions/setup-node v2,v3v4
actions/cache v3v4
google-github-actions/auth v1v2
google-github-actions/setup-gcloud v1v2

いずれも入力(node-version / path / key / credentials_json / project_id 等)は互換のため、ワークフローの挙動は変えていません。

検証

  • ローカルで CI と同一の actionlint v1.7.12 を実行し、エラーなし(exit 0) を確認。

補足

Open in Web Open in Cursor 

actionlint が "the runner of ... action is too old to run" を検出し
actions-test ジョブが失敗していた(alpha-0.2 既存の不具合)。
ランタイム廃止された古いアクションを互換性のある最新メジャーへ更新する。

- actions/checkout@v3 -> v4
- actions/setup-node@v2,v3 -> v4
- actions/cache@v3 -> v4
- google-github-actions/auth@v1 -> v2
- google-github-actions/setup-gcloud@v1 -> v2

入力仕様は各アクションで互換のため挙動は変えない。
ローカルで actionlint v1.7.12 がエラーなし(exit 0)を確認済み。

Co-authored-by: kojira <kojira@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants