From 9fd0fd6a6b6e8784b90eb54e9045559ae59aa7ad Mon Sep 17 00:00:00 2001 From: Adrian Moennich Date: Wed, 6 Sep 2023 17:12:57 +0200 Subject: [PATCH] ci: Use exact Python version --- .github/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f78e4bedf..34aca2e08 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,8 @@ name: CI +env: + PYTHON_VERSION: '3.11.5' + on: push: branches: @@ -41,7 +44,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: ${{ env.PYTHON_VERSION }} - name: Install system dependencies run: sudo apt-get install postgresql-client libpq-dev @@ -131,7 +134,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: ${{ env.PYTHON_VERSION }} - name: Setup Node uses: actions/setup-node@v3 @@ -203,7 +206,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: ${{ env.PYTHON_VERSION }} - name: Setup Node uses: actions/setup-node@v3