Skip to content

Commit

Permalink
Update python version in CI/CD to up to date range
Browse files Browse the repository at this point in the history
  • Loading branch information
helpmefindaname authored Sep 13, 2024
1 parent 2a4b8d7 commit 4e49e4f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
BUILD_VERSION=${{ github.ref_name }}

0 comments on commit 4e49e4f

Please sign in to comment.