{"thread":{"id":"65476","subject":"[PATCH] CI: bump actions/checkout from 4 to 5 for rust-analysis job","startedAt":"2026-04-13T18:24:47Z","lastAt":"2026-04-13T18:24:47Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"541497","messageId":"xmqqfr4yhg5v.fsf@gitster.g","threadId":"65476","inReplyTo":null,"subject":"[PATCH] CI: bump actions/checkout from 4 to 5 for rust-analysis job","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2026-04-13T18:24:44Z","receivedAt":"2026-04-13T18:24:47Z","isPatch":true,"body":"GitHub Actions started complaining about use of Node.js 20 and I was\nwondering why only one job uses actions/checkout@v4, while everybody\nelse already uses actions/checkout@v5.  It turns out that it is a\nsemantic mismerge between e75cd059 (ci: check formatting of our Rust\ncode, 2025-10-15) that added a new use of actions/checkout@v4 that\nhappened very close to another change 63541ed9 (build(deps): bump\nactions/checkout from 4 to 5, 2025-10-16) that updated all uses of\nactions/checkout@v4 to use actions/checkout@v5.\n\nUpdate the leftover and the last use of actions/checkout@v4 to use\nactions/checkout@v5 to help ourselves to move away from Node.js 20.\n\nSigned-off-by: Junio C Hamano <gitster@pobox.com>\n---\n .github/workflows/main.yml | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git c/.github/workflows/main.yml w/.github/workflows/main.yml\nindex 826f2f5d3a..6f3d94e3a6 100644\n--- c/.github/workflows/main.yml\n+++ w/.github/workflows/main.yml\n@@ -480,7 +480,7 @@ jobs:\n       group: rust-analysis-${{ github.ref }}\n       cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}\n     steps:\n-    - uses: actions/checkout@v4\n+    - uses: actions/checkout@v5\n     - run: ci/install-dependencies.sh\n     - run: ci/run-rust-checks.sh\n   sparse:\n"}]}