]> git.ipfire.org Git - thirdparty/git.git/commitdiff
CI: bump actions/checkout from 4 to 5 for rust-analysis job
authorJunio C Hamano <gitster@pobox.com>
Mon, 13 Apr 2026 18:24:44 +0000 (11:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Apr 2026 18:35:31 +0000 (11:35 -0700)
GitHub Actions started complaining about use of Node.js 20 and I was
wondering why only one job uses actions/checkout@v4, while everybody
else already uses actions/checkout@v5.

It turns out that it is caused by a semantic mismerge between
e75cd059 (ci: check formatting of our Rust code, 2025-10-15) that
added a new use of actions/checkout@v4 that happened very close to
another change 63541ed9 (build(deps): bump actions/checkout from 4
to 5, 2025-10-16) that updated all uses of actions/checkout@v4 to
use vactions/checkout@v5.

Update the leftover and the last use of actions/checkout@v4 to use
actions/checkout@v5 to help ourselves to move away from Node.js 20.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
.github/workflows/main.yml

index f2e93f54611b62268a441014d1b7e310e29875c4..8ed268fc09292aa9bd3d2dc0f47e4554cf5a7bc1 100644 (file)
@@ -480,7 +480,7 @@ jobs:
       group: rust-analysis-${{ github.ref }}
       cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
     steps:
-    - uses: actions/checkout@v4
+    - uses: actions/checkout@v5
     - run: ci/install-dependencies.sh
     - run: ci/run-rust-checks.sh
   sparse: