From fcbba4f5d9a7259eb7999f3ade5b26230cf67c43 Mon Sep 17 00:00:00 2001 From: Martin Reuter Date: Fri, 6 Sep 2024 12:16:42 +0200 Subject: [PATCH] bump action version and python to 3.10, drop build py3.8 and add 3.12 --- .github/workflows/build.yml | 7 +++---- .github/workflows/code-style.yml | 8 ++++---- .github/workflows/doc.yml | 8 ++++---- .github/workflows/publish.yml | 8 ++++---- 4 files changed, 15 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2d25c7e..c8a15fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: fail-fast: false matrix: os: [ubuntu, macos, windows] - python-version: [3.8, 3.9, "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] name: ${{ matrix.os }} - py${{ matrix.python-version }} runs-on: ${{ matrix.os }}-latest defaults: @@ -23,12 +23,11 @@ jobs: shell: bash steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - #architecture: 'x64' - name: Install dependencies run: | python -m pip install --progress-bar off --upgrade pip setuptools wheel diff --git a/.github/workflows/code-style.yml b/.github/workflows/code-style.yml index 2bf1b11..662d0b6 100644 --- a/.github/workflows/code-style.yml +++ b/.github/workflows/code-style.yml @@ -14,11 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 - - name: Setup Python 3.9 - uses: actions/setup-python@v4 + uses: actions/checkout@v4 + - name: Setup Python 3.10 + uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: '3.10' architecture: 'x64' - name: Install dependencies run: | diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 2547d0d..fefda7e 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -20,10 +20,10 @@ jobs: uses: actions/checkout@v4 with: path: ./main - - name: Setup Python 3.9 - uses: actions/setup-python@v4 + - name: Setup Python 3.10 + uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: '3.10' architecture: 'x64' - name: Install package run: | @@ -56,7 +56,7 @@ jobs: name: doc-dev path: ./doc-dev - name: Deploy dev documentation - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./doc-dev diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1f81b4a..a301568 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 - - name: Setup Python 3.9 - uses: actions/setup-python@v4 + uses: actions/checkout@v4 + - name: Setup Python 3.10 + uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: '3.10' architecture: 'x64' - name: Install dependencies run: |