ci: Switch to actions/checkout@main
PATCH 1/1 ci: Switch to actions/checkout@main
Suppress the following GitHub warning:
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see:s
https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
--- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
.github/workflows/ci.yml +2 -2
@@ -10,7 +10,7 @@ jobs: compiler: [gcc, clang] arch: [x86_64, x86] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@main - name: Install multilib run: | sudo apt-get update
@@ -28,7 +28,7 @@ jobs: check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@main - name: Install ShellCheck run: | curl -L "https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.linux.x86_64.tar.xz" | tar -xJ shellcheck-stable/shellcheck
Quoted 14 lines · Bart Van Assche
Suppress the following GitHub warning:
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see:s
https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Quoted 1 line
Signed-off-by Bart Van Assche <[email protected]>
Hi Bart, I applied the patch, and confirmed that the warning goes away. Thanks a lot for fixing this problem in timely manner.