From ad448fe490d42dca688f1bba76f7bd28bf809437 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Fri, 4 Sep 2026 18:43:49 +0200 Subject: [PATCH] CI: update actions to versions that run on Node.js 24 GitHub has deprecated the Node.js 20 runtime for actions and warns that actions/checkout@v4 and astral-sh/setup-uv@v6 target Node.js 20 but are forced to run on Node.js 24. Update them to their newest major versions (actions/checkout@v7, astral-sh/setup-uv@v7), which declare Node.js 24 and support the inputs used here. The codespell action runs in Docker and is not affected. Co-Authored-By: Claude Fable 5.1 --- .github/workflows/codespell.yml | 2 +- .github/workflows/test.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index dd0eb8e..7fef1a3 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -18,6 +18,6 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Codespell uses: codespell-project/actions-codespell@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ca20c44..691e6ea 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,14 +28,14 @@ jobs: os: ubuntu-26.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: # Retrieve some git history, which will hopefully include the last release tag # and enable us to generate better version numbers. fetch-depth: 256 - name: Install uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: enable-cache: true python-version: ${{ matrix.python-version }}