From 76a42bcb7fb86559e82bb3fd85097767e8c6d3b2 Mon Sep 17 00:00:00 2001 From: Tharindu Jayasinghe Date: Thu, 9 Jul 2026 10:29:58 -0700 Subject: [PATCH] ci: bump GitHub Actions off the deprecated Node 20 runtime GitHub is deprecating the Node 20 runner, and every action run was logging a forced-to-Node-24 warning. Bump each to the lowest major that ships on Node 24: actions/checkout v4 -> v5 astral-sh/setup-uv v5 -> v7 (v6 is still Node 20; v8 drops the major tag, so v7 is the last @vN) actions/upload-artifact v4 -> v6 (v5 is still Node 20) actions/download-artifact v4 -> v7 (v5/v6 are still Node 20) upload@v6 and download@v7 share the v4+ immutable artifact backend, so the release dist hand-off is unchanged. Our usage is bare/parameterless, unaffected by the majors' behaviour changes (setup-uv's auto-activate is unused; we call uv venv / uv run explicitly). Co-Authored-By: Claude Opus 4.8 --- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/release.yml | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df51c29..b14cf94 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,13 +20,13 @@ jobs: os: [ubuntu-latest, windows-latest] python: ["3.11", "3.12"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 # PySide6 (the GUI tests, run offscreen) needs the EGL/OpenGL system # libraries, which the ubuntu-latest image no longer preinstalls. - name: Install Qt system libraries (Linux) if: runner.os == 'Linux' run: sudo apt-get update && sudo apt-get install -y libegl1 libopengl0 libgl1 - - uses: astral-sh/setup-uv@v5 + - uses: astral-sh/setup-uv@v7 - name: Create environment run: uv venv --python ${{ matrix.python }} - name: Install @@ -38,8 +38,8 @@ jobs: name: lint + types runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: astral-sh/setup-uv@v5 + - uses: actions/checkout@v5 + - uses: astral-sh/setup-uv@v7 - name: Create environment run: uv venv --python 3.12 - name: Install @@ -53,8 +53,8 @@ jobs: name: docs build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: astral-sh/setup-uv@v5 + - uses: actions/checkout@v5 + - uses: astral-sh/setup-uv@v7 - name: Create environment run: uv venv --python 3.12 - name: Install diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3ae890c..ab489cd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,13 +26,13 @@ jobs: name: build distributions runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: astral-sh/setup-uv@v5 + - uses: actions/checkout@v5 + - uses: astral-sh/setup-uv@v7 - name: Build sdist + wheel run: uv build - name: Check metadata run: uvx twine check dist/* - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 with: name: dist path: dist/ @@ -46,7 +46,7 @@ jobs: permissions: id-token: write # required for Trusted Publishing steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v7 with: name: dist path: dist/ @@ -63,7 +63,7 @@ jobs: permissions: id-token: write # required for Trusted Publishing steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v7 with: name: dist path: dist/