From db22c29693bc1feb6912482c7f24f02b5c9815cf Mon Sep 17 00:00:00 2001 From: MacBuchi <63749065+MacBuchi@users.noreply.github.com> Date: Mon, 20 Jul 2026 19:10:41 +0200 Subject: [PATCH] ci: move setup-uv and test-reporter off the Node 20 runtime MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit astral-sh/setup-uv v5 -> v7 dorny/test-reporter v1 -> v3 Note the target for setup-uv is v7, not v8 as issue #11 claimed: the project publishes floating major tags only up to v7. The v8.x releases exist but no v8 alias does, so `@v8` would not resolve. v7 is already node24, which is what this is about. Both majors carry breaking changes; neither touches how this repo uses them: - setup-uv v6 stopped auto-activating a venv for `python-version` and changed the default cache-dependency-glob, the working-directory handling and the self-hosted cache dir. The workflows here pass only `enable-cache: true` and install Python in a separate `uv python install` step, so none of that applies. v7 additionally drops the deprecated `server-url` input, also unused. - test-reporter v3 is the Node 24 bump plus a switch to declaring the lowest required permissions. The test job already grants `checks: write`, so publishing the check run keeps working. All four inputs the reporter is given (name, path, reporter, fail-on-error) still exist in v3, and enable-cache still exists in v7 — checked against each target's action.yml. Closes #11 Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/bump.yml | 2 +- .github/workflows/ci.yml | 8 ++++---- .github/workflows/release.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index 141df26..caeaf7d 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -28,7 +28,7 @@ jobs: # Uses github.token by default — no PAT required - name: Install uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v7 with: enable-cache: true diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73c71b7..09d4f79 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v7 - name: Install uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v7 with: enable-cache: true @@ -48,7 +48,7 @@ jobs: uses: actions/checkout@v7 - name: Install uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v7 with: enable-cache: true @@ -62,7 +62,7 @@ jobs: run: uv run pytest --tb=short -v --junitxml=test-results.xml -W default - name: Publish test results - uses: dorny/test-reporter@v1 + uses: dorny/test-reporter@v3 if: always() with: name: Pytest Results @@ -98,7 +98,7 @@ jobs: uses: actions/checkout@v7 - name: Install uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v7 with: enable-cache: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c409f2..9eaa16e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,7 +41,7 @@ jobs: ref: ${{ github.event_name == 'workflow_dispatch' && inputs.tag || github.ref }} - name: Install uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v7 with: enable-cache: true