From bafb9ec0bfbeb8ca1c47244486041323c2c99c41 Mon Sep 17 00:00:00 2001 From: Fabian Balsiger Date: Fri, 30 Oct 2026 13:50:45 +0100 Subject: [PATCH] ci: update actions and test on Python 3.12 The Testing workflow fails in the setup step: checkout and setup-python v2 are deprecated, and Python 3.9 is end of life. Use current major versions and Python 3.12, within the supported range in pyproject.toml. --- .github/workflows/testing.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 301fe1a..3f5a1b1 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -11,17 +11,17 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.9] + python-version: ["3.12"] poetry-version: [1.7.0] os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install poetry - uses: abatilo/actions-poetry@v2.0.0 + uses: abatilo/actions-poetry@v4 with: poetry-version: ${{ matrix.poetry-version }} - name: Install dependencies @@ -33,17 +33,17 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.9] + python-version: ["3.12"] poetry-version: [1.7.0] os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install poetry - uses: abatilo/actions-poetry@v2.0.0 + uses: abatilo/actions-poetry@v4 with: poetry-version: ${{ matrix.poetry-version }} - name: Install dependencies