diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77c29c1..d42b8f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,19 +3,17 @@ on: [push, pull_request] jobs: test: name: Test + runs-on: ubuntu-latest + container: + image: python:${{ matrix.python-version }}-trixie strategy: matrix: - python-version: ["3.10.x", "3.11.x", "3.12.x", "3.13.x"] - runs-on: ubuntu-latest + python-version: ["3.12", "3.13", "3.14"] + steps: - name: Checkout code uses: actions/checkout@v4 - - name: Install Python - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - name: Install Poetry uses: snok/install-poetry@v1 with: @@ -47,15 +45,12 @@ jobs: needs: [test] if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest + container: + image: python:3.10-trixie steps: - name: Checkout code uses: actions/checkout@v4 - - name: Install Python - uses: actions/setup-python@v5 - with: - python-version: "3.10.x" - - name: Publish release run: | python -m pip install -U pip poetry