From 64e56998ea6d1177670284dfd57cf7ffbe5be5ea Mon Sep 17 00:00:00 2001 From: SombraSoft Date: Mon, 23 Nov 2026 19:16:03 -0300 Subject: [PATCH] CI: move to actions/checkout v7 and actions/cache v6 (Node 24) checkout v4 and cache v4 run on Node 20, which GitHub has deprecated: every CI run carries a warning annotation for it. checkout v5+ and cache v5+ run on Node 24. Nothing else in the newer majors changes this job: checkout v6 keeps the persisted token in a file under RUNNER_TEMP instead of .git/config (the job never uses it), checkout v7 refuses fork checkouts only under pull_request_target / workflow_run (this workflow uses pull_request), and cache v6 keeps the same inputs and cache service. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/pr-check.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc905cb1bc..959455161d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: CARGO_TERM_COLOR: always CARGO_INCREMENTAL: 0 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Rust (stable, MSVC) run: | @@ -39,7 +39,7 @@ jobs: rustup default stable rustc --version - - uses: actions/cache@v4 + - uses: actions/cache@v6 with: path: | ~/.cargo/registry/index diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index a5d88d28c5..91eba08fed 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -21,7 +21,7 @@ jobs: name: PR description runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: ref: ${{ github.event.pull_request.base.sha }} sparse-checkout: scripts/pr_check.py