From 890fce55177099b8fbbbddc98988ff932d27703c Mon Sep 17 00:00:00 2001 From: Marc Sommerhalder Date: Tue, 30 Apr 2024 06:31:23 +0200 Subject: [PATCH 1/3] Also test with python 3.11 and 3.12 --- .github/workflows/python-pr.yaml | 2 +- .github/workflows/python-tox.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-pr.yaml b/.github/workflows/python-pr.yaml index 3b59736..6e4dea3 100644 --- a/.github/workflows/python-pr.yaml +++ b/.github/workflows/python-pr.yaml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9, '3.10'] + python-version: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/python-tox.yaml b/.github/workflows/python-tox.yaml index 3c0e8b1..aff21bb 100644 --- a/.github/workflows/python-tox.yaml +++ b/.github/workflows/python-tox.yaml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9, '3.10'] + python-version: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12] steps: - uses: actions/checkout@v2 From 9658ac56aaa869e824e3eea1183728b58143aa71 Mon Sep 17 00:00:00 2001 From: Marc Sommerhalder Date: Tue, 30 Apr 2024 06:37:40 +0200 Subject: [PATCH 2/3] Update actions --- .github/workflows/python-pr.yaml | 4 ++-- .github/workflows/python-publish.yaml | 7 +++++-- .github/workflows/python-tox.yaml | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python-pr.yaml b/.github/workflows/python-pr.yaml index 6e4dea3..5f62fed 100644 --- a/.github/workflows/python-pr.yaml +++ b/.github/workflows/python-pr.yaml @@ -11,10 +11,10 @@ jobs: python-version: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index 6757d86..3c32818 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -10,15 +10,18 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.x' + - name: Install dependencies run: | python -m pip install --upgrade pip pip install build twine + - name: Build and publish env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} diff --git a/.github/workflows/python-tox.yaml b/.github/workflows/python-tox.yaml index aff21bb..deabbac 100644 --- a/.github/workflows/python-tox.yaml +++ b/.github/workflows/python-tox.yaml @@ -11,7 +11,7 @@ jobs: python-version: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Get branch name (merge) if: github.event_name != 'pull_request' @@ -21,7 +21,7 @@ jobs: >> $GITHUB_ENV - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} From 9a2b4cb25a2b8c53c8ba2b8e5b2e2bbaa7c1a383 Mon Sep 17 00:00:00 2001 From: Marc Sommerhalder Date: Tue, 30 Apr 2024 06:39:24 +0200 Subject: [PATCH 3/3] Update actions --- .github/workflows/python-pr.yaml | 2 +- .github/workflows/python-publish.yaml | 2 +- .github/workflows/python-tox.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-pr.yaml b/.github/workflows/python-pr.yaml index 5f62fed..cfdb136 100644 --- a/.github/workflows/python-pr.yaml +++ b/.github/workflows/python-pr.yaml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index 3c32818..595fd5e 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.x' diff --git a/.github/workflows/python-tox.yaml b/.github/workflows/python-tox.yaml index deabbac..8de8051 100644 --- a/.github/workflows/python-tox.yaml +++ b/.github/workflows/python-tox.yaml @@ -21,7 +21,7 @@ jobs: >> $GITHUB_ENV - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }}