From dc406f54bd0dbc6521d363064dab56d10bedfa58 Mon Sep 17 00:00:00 2001 From: Berend Klein Haneveld Date: Tue, 26 May 2026 15:42:47 +0200 Subject: [PATCH 1/2] Update versions of steps and let setup-uv manage the python version --- .github/workflows/benchmark.yml | 9 +++------ .github/workflows/ci.yml | 16 ++++++---------- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 7dee27c..063a758 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -12,11 +12,8 @@ jobs: steps: - uses: actions/checkout@v6 - - name: Install uv - uses: astral-sh/setup-uv@v7 - - - name: Set up Python 3.14 - uses: actions/setup-python@v6 + - name: Install uv and Python 3.14 + uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 with: python-version: "3.14" @@ -49,7 +46,7 @@ jobs: - name: Upload benchmarks if: always() - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: Benchmarks path: .benchmarks/ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5ff2fb..f74aa18 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,10 +34,8 @@ jobs: pyversion: "3.14" steps: - uses: actions/checkout@v6 - - name: Install uv - uses: astral-sh/setup-uv@v7 - - name: Set up Python ${{ matrix.pyversion }} - uses: actions/setup-python@v6 + - name: Install uv and Python ${{ matrix.pyversion }} + uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 with: python-version: ${{ matrix.pyversion }} - name: Install dependencies @@ -54,10 +52,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - - name: Install uv - uses: astral-sh/setup-uv@v7 - - name: Set up Python 3.9 - uses: actions/setup-python@v6 + - name: Install uv and Python 3.9 + uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 with: python-version: "3.9" - name: Install dependencies @@ -67,7 +63,7 @@ jobs: - name: Twine check run: uvx twine check dist/* - name: Upload wheel artifact - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: path: dist name: dist @@ -91,7 +87,7 @@ jobs: name: dist path: dist - name: Release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: token: ${{ secrets.GITHUB_TOKEN }} files: | From 503a20ae0e2235e7b85d0bac1b10ae60dac40c60 Mon Sep 17 00:00:00 2001 From: Berend Klein Haneveld Date: Tue, 26 May 2026 15:47:04 +0200 Subject: [PATCH 2/2] Remove Python 3.8 from matrix --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f74aa18..b04e3e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,8 +18,6 @@ jobs: fail-fast: false matrix: include: - - name: Linux py38 - pyversion: "3.8" - name: Linux py39 pyversion: "3.9" - name: Linux py310