From d6677623ec1a1a92102e69ba98473f23269f9afb Mon Sep 17 00:00:00 2001 From: scito Date: Fri, 19 Sep 2025 11:47:14 +0200 Subject: [PATCH] fix: add Python 3.14 and threaded versions, update actions --- .github/workflows/ci.yml | 6 +++--- .github/workflows/ci_docker.yml | 6 +++--- .github/workflows/ci_release.yml | 16 ++++++++-------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc780b2..c39f02d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,16 +21,16 @@ jobs: strategy: matrix: # 3.x is used to run code coverage - python-version: ["3.x", "3.13", "3.12", "3.11", "3.10", "3.9"] + python-version: ["3.x", "3.14", "3.14t", "3.13", "3.13t", "3.12", "3.11", "3.10", "3.9"] platform: [ubuntu-latest, macos-latest, windows-latest, ubuntu-24.04-arm, macos-13] # exclude: runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} check-latest: ${{ github.event_name == 'schedule' }} diff --git a/.github/workflows/ci_docker.yml b/.github/workflows/ci_docker.yml index 505cd67..8211c52 100644 --- a/.github/workflows/ci_docker.yml +++ b/.github/workflows/ci_docker.yml @@ -42,7 +42,7 @@ jobs: # steps to perform in job steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 # avoid building if there are testing errors - name: Run smoke test @@ -168,7 +168,7 @@ jobs: # steps to perform in job steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 # avoid building if there are testing errors - name: Run smoke test @@ -296,7 +296,7 @@ jobs: # steps to perform in job steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 # avoid building if there are testing errors - name: Run smoke test diff --git a/.github/workflows/ci_release.yml b/.github/workflows/ci_release.yml index 2b63680..1937273 100644 --- a/.github/workflows/ci_release.yml +++ b/.github/workflows/ci_release.yml @@ -57,7 +57,7 @@ jobs: tag_message: ${{ steps.meta.outputs.tag_message }} steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set meta data id: meta # Writing to env with >> $GITHUB_ENV is an alternative @@ -126,7 +126,7 @@ jobs: # steps to perform in job steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 # avoid building if there are testing errors - name: Run smoke test @@ -196,7 +196,7 @@ jobs: docker run --pull always --entrypoint /bin/bash --rm -v "$(pwd)":/files -w /files docker.io/scit0/extract_otp_secrets -c 'dist/${{ matrix.EXE }} -V && dist/${{ matrix.EXE }} -h && dist/${{ matrix.EXE }} example_export.png && dist/${{ matrix.EXE }} - < example_export.txt && dist/${{ matrix.EXE }} --qr ZBAR example_export.png && dist/${{ matrix.EXE }} --qr QREADER example_export.png && dist/${{ matrix.EXE }} --qr QREADER_DEEP example_export.png && dist/${{ matrix.EXE }} --qr CV2 example_export.png && dist/${{ matrix.EXE }} --qr CV2_WECHAT example_export.png' - name: Load Release URL File from release job if: startsWith(github.ref, 'refs/tags/v') - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: release_url - name: Display structure of files @@ -291,12 +291,12 @@ jobs: - name: List Windir if: runner.os == 'Windows' run: ls "$($Env:WinDir)\system32" - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set macos macos_python_path # TODO use variable for Python version run: echo "macos_python_path=/Library/Frameworks/Python.framework/Versions/3.13" >> $GITHUB_ENV - name: Set up Python 3.13 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: 3.13 check-latest: true @@ -341,12 +341,12 @@ jobs: dist/${{ matrix.EXE }} - < example_export.txt - name: Load Release URL File from release job if: startsWith(github.ref, 'refs/tags/v') - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: release_url - name: Load Release Id File from release job if: startsWith(github.ref, 'refs/tags/v') - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: release_id - name: Display structure of files @@ -389,7 +389,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Load Release Id File from release job - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: release_id - name: Set meta data