From 3600fd31960c2b1e68664e08cd30141f22dcbfc3 Mon Sep 17 00:00:00 2001 From: zerlok Date: Fri, 22 Nov 2024 01:04:30 +0100 Subject: [PATCH] fix publish workflow, set python 3.12 --- .github/workflows/publish.yaml | 4 +++- .github/workflows/pull-request.yaml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 12ddc6a..cc36a0e 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -11,7 +11,9 @@ jobs: id-token: write steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.12' - uses: abatilo/actions-poetry@v2 - name: Poetry build run: poetry build -n diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index a8a1a36..f6e9b50 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} # see details (matrix, python-version, python-version-file, etc.)