From 4e49e4f04d8f1c60708a8987e11cb229035378c2 Mon Sep 17 00:00:00 2001 From: Benedikt Fuchs Date: Fri, 13 Sep 2024 12:52:36 +0200 Subject: [PATCH] Update python version in CI/CD to up to date range --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index acd5cbe..05dc829 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: env: is_package: false # set this to true if you use this template for a package that you want to publish publish_docker: false # set this to true if you use this template to build and push a docker file to a registry - POETRY_VERSION: 1.3.1 + POETRY_VERSION: 1.8.3 jobs: test-docker: @@ -61,7 +61,7 @@ jobs: uses: actions/checkout@v3 - id: set-vars run: | - echo "matrix={\"python-version\":${{ env.is_package && '[ \"3.7\", \"3.8\", \"3.9\", \"3.10\" ]' || '[ \"3.10\" ]' }} }" >> $GITHUB_OUTPUT + echo "matrix={\"python-version\":${{ env.is_package && '[ \"3.9\", \"3.10\", \"3.11\", \"3.12\", ]' || '[ \"3.12\" ]' }} }" >> $GITHUB_OUTPUT echo "publish_docker=${{env.publish_docker}}" >> $GITHUB_OUTPUT test: runs-on: ubuntu-latest @@ -90,7 +90,7 @@ jobs: needs: [test, test-docker] if: github.ref_type == 'tag' env: - python-version: 3.10 + python-version: 3.12 steps: - name: Checkout code uses: actions/checkout@v3 @@ -143,4 +143,4 @@ jobs: cache-from: type=local,src=/tmp/.buildx-cache tags: docker:${{ github.ref_name }} build-args: | - BUILD_VERSION=${{ github.ref_name }} \ No newline at end of file + BUILD_VERSION=${{ github.ref_name }}