From 93561caa201d9f7a182fc22544f3c6aa00fefe79 Mon Sep 17 00:00:00 2001 From: Pascal Egner Date: Mon, 15 Jul 2024 11:43:08 +0200 Subject: [PATCH] actions: update versions (#94) --- .github/workflows/build-and-publish.yml | 8 ++++---- .github/workflows/bump.yml | 8 ++++---- .github/workflows/test-python-3.yml | 3 ++- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index ce0bc6b..959b7c5 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -8,14 +8,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: 3.x + python-version: "3.11" - name: Install python dependencies run: | @@ -33,7 +33,7 @@ jobs: python setup.py sdist bdist_wheel - name: Publish package - uses: pypa/gh-action-pypi-publish@v1.3.1 + uses: pypa/gh-action-pypi-publish@v1.9.0 with: user: __token__ password: ${{ secrets.pypi_password }} diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index 322ba8d..841c4d1 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -5,18 +5,18 @@ on: jobs: bump: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - - name: Check out the repository + - name: Checkout uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: 3.x + python-version: "3.11" - name: Install bump2version shell: bash diff --git a/.github/workflows/test-python-3.yml b/.github/workflows/test-python-3.yml index 5b1f3a4..7cbf0db 100644 --- a/.github/workflows/test-python-3.yml +++ b/.github/workflows/test-python-3.yml @@ -13,7 +13,8 @@ jobs: python-version: ["3.9", "3.10", "3.11"] experimental: [false] include: - - python-version: "3.12" + - python-version: "3.x" + check-latest: true experimental: true