Commit 77b4451a

77b4451a7942Merged

Yukihiro "Matz" Matsumoto <[email protected]> · 6 months ago · 1 file · ~1 modified

Description

ci: bump actions/checkout v4 → v6 to silence Node.js 20 deprecation

CI runners emit a deprecation warning every job:

Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. ...

GitHub will force Node.js 24 by default starting 2026-06-02 (about a month from now), and remove Node.js 20 from runners on 2026-09-16. actions/checkout@v5 introduced Node.js 24 support and v6 is the current major; v6.0.2 is the latest patch as of 2026-01-09. The workflow uses checkout with no parameters, so the v4→v6 jump is a clean replacement (v6's only behavioral change is credential persistence, which doesn't affect the simple-checkout shape here).

The other two actions in the workflow — ruby/setup-ruby@v1 and msys2/setup-msys2@v2 — are pinned by major and auto-float to their latest patches, both of which already support Node.js 24, so they don't appear in the deprecation warning.

Co-Authored-By: Claude Opus 4.7 (1M context) [email protected]

Details

Commit
77b4451a7942
Parent
e992d02efb02

.github/workflows/ci.ymlmodifiedView file

@@ -23,7 +23,7 @@
2323 env:
2424 CC: ${{ matrix.cc }}
2525 steps:
26- - uses: actions/checkout@v4
26+ - uses: actions/checkout@v6
2727
2828 - name: Set up Ruby
2929 uses: ruby/setup-ruby@v1
@@ -59,7 +59,7 @@
5959 env:
6060 CC: gcc
6161 steps:
62- - uses: actions/checkout@v4
62+ - uses: actions/checkout@v6
6363
6464 - name: Set up MSYS2 (MINGW64)
6565 uses: msys2/setup-msys2@v2