From 4142a1553f0aab051948aed7c1ba160933cd99bd Mon Sep 17 00:00:00 2001 From: Yinghuan Zhang Date: Sun, 21 Jun 2026 21:24:06 -0400 Subject: [PATCH] ci: bump checkout and setup-python to Node 24-native majors GitHub Actions now force-runs Node 20 actions on Node 24 and is deprecating the Node 20 runtime (removal slated for late 2026). The pinned actions/checkout@v4 and actions/setup-python@v5 still declare the Node 20 runtime, producing deprecation warnings in CI. Bump to the current stable majors that run natively on Node 24: - actions/checkout v4 -> v7 - actions/setup-python v5 -> v6 checkout v7's only behavioral change vs v5/v6 (blocking fork checkouts for pull_request_target / workflow_run events) does not apply here; our workflows use plain pull_request, push, and tag triggers. The remaining third-party action, pypa/gh-action-pypi-publish@release/v1, is a composite action on a floating ref maintained upstream and is unaffected. CI maintenance only; no application code changes. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 421d53b..fb377e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,10 +16,10 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d54b362..7a12ec4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,10 +14,10 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.12"