From 2f75a13c46d9ab47de8482b564da1cccc68a084b Mon Sep 17 00:00:00 2001 From: Tim Schwenke Date: Sun, 10 Mar 2024 11:37:26 +0100 Subject: [PATCH] ci: Update GitHub Actions versions --- .github/workflows/ci.yaml | 12 ++++++------ .github/workflows/codeql.yaml | 2 +- .github/workflows/pre-commit.yaml | 12 ++++++------ .github/workflows/release.yaml | 12 ++++++------ .github/workflows/testpypi.yaml | 10 +++++----- 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 009aba6..bd2cf89 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,7 +14,7 @@ on: - cron: 4 4 * * 1 env: - poetry_version: "1.3.2" + poetry_version: "1.8.2" jobs: ci: @@ -22,22 +22,22 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.11", "3.7"] + python-version: ["3.12", "3.8"] runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # ------------------------------------------------------------------------ # Python & Poetry. - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Cache Poetry installation - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.local/bin/poetry @@ -51,7 +51,7 @@ jobs: POETRY_VERSION: ${{ env.poetry_version }} - name: Cache Poetry cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/pypoetry key: |- diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index b8c88f8..720e72d 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 4c7e76b..1ed7894 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -25,8 +25,8 @@ on: - cron: 4 4 * * 1 env: - poetry_version: "1.3.2" - python_version: "3.11" + poetry_version: "1.8.2" + python_version: "3.12" jobs: pre-commit: @@ -34,18 +34,18 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # ------------------------------------------------------------------------ # Python & Poetry. - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ env.python_version }} - name: Cache Poetry installation - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.local/bin/poetry @@ -59,7 +59,7 @@ jobs: POETRY_VERSION: ${{ env.poetry_version }} - name: Cache Poetry cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/pypoetry key: |- diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d5bd143..d6437f9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,8 +19,8 @@ permissions: contents: write env: - poetry_version: "1.3.2" - python_version: "3.11" + poetry_version: "1.8.2" + python_version: "3.12" jobs: release: @@ -28,18 +28,18 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # ------------------------------------------------------------------------ # Python & Poetry. - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ env.python_version }} - name: Cache Poetry installation - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.local/bin/poetry @@ -76,6 +76,6 @@ jobs: TOKEN: ${{ secrets.PYPI_TOKEN }} - name: Draft GitHub release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: draft: true diff --git a/.github/workflows/testpypi.yaml b/.github/workflows/testpypi.yaml index a74b00f..2571b5d 100644 --- a/.github/workflows/testpypi.yaml +++ b/.github/workflows/testpypi.yaml @@ -19,8 +19,8 @@ on: default: "" env: - poetry_version: "1.3.2" - python_version: "3.11" + poetry_version: "1.8.2" + python_version: "3.12" jobs: testpypi: @@ -28,18 +28,18 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # ------------------------------------------------------------------------ # Python & Poetry. - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ env.python_version }} - name: Cache Poetry installation - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.local/bin/poetry