Skip to content

chore(ci): Node 24対応のためGitHub Actionsのバージョンを更新#282

Merged
rikunosuke merged 1 commit into
mainfrom
chore-resolve-build-n-publish-warning
Jun 29, 2026
Merged

chore(ci): Node 24対応のためGitHub Actionsのバージョンを更新#282
rikunosuke merged 1 commit into
mainfrom
chore-resolve-build-n-publish-warning

Conversation

@yo-tak

@yo-tak yo-tak commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

概要

build-n-publish ジョブで出ていた Node.js 20 deprecation の警告を解消するため、Node 24 対応の安定版へ GitHub Actions のバージョンを更新します。

Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout, actions/setup-python.

変更内容

SHA固定のまま、以下を更新しました(いずれも現行から +1 メジャーの安定版)。

Action Before After
actions/checkout v4.1.7 v5.0.1
actions/setup-python v5.1.1 v6.3.0

対象ファイル:

  • release.yml(build-n-publish)
  • test.yml(lint / test ※同一アクションを使用しており同じ警告対象のため合わせて更新)

今回見送ったもの

build-n-publish では他に以下の警告も出ていますが、PyPI側の設定および認証方式(APIトークン → Trusted Publishing)の変更を伴うため、別途対応します。

  • Create a Trusted Publisher / Upgrade to Trusted Publishing
  • attestations input ignored(Trusted Publishing 移行とセットで対応予定)

🤖 Generated with Claude Code

actions/checkout を v4.1.7 から v5.0.1 へ、actions/setup-python を
v5.1.1 から v6.3.0 へ更新し、Node.js 20 deprecation の警告を解消する。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@yo-tak yo-tak requested a review from rikunosuke June 26, 2026 04:55

@rikunosuke rikunosuke left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rikunosuke rikunosuke merged commit 359d4c5 into main Jun 29, 2026
9 checks passed
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