From f0b9be2404011de9e66648a197ec84c268b4a665 Mon Sep 17 00:00:00 2001 From: purificant Date: Fri, 1 May 2026 12:52:38 +0100 Subject: [PATCH] update test workflow for modern python and github actions --- .github/workflows/tests.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 78b3681..6f40246 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,26 +11,26 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install Poetry uses: snok/install-poetry@v1 with: - version: 1.8.3 + version: 2.3.4 virtualenvs-create: true virtualenvs-in-project: true - name: Load cached venv id: cached-poetry-dependencies - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: .venv key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }} @@ -50,17 +50,17 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: - python-version: "3.11" + python-version: "3.14" - name: Install Poetry uses: snok/install-poetry@v1 with: - version: 1.8.3 + version: 2.3.4 virtualenvs-create: true virtualenvs-in-project: true