Skip to content

Commit

Permalink
Upgrade CI tasks to Python 3.8
Browse files Browse the repository at this point in the history
For those tasks that should not vary based on Python version
  • Loading branch information
MattiSG committed Apr 25, 2022
1 parent bc1d286 commit 9bb2cb0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7.12
python-version: 3.8.12
- name: Cache build
id: restore-build
uses: actions/cache@v2
Expand All @@ -209,7 +209,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7.12
python-version: 3.8.12
- name: Check version number has been properly updated
run: "${GITHUB_WORKSPACE}/.github/is-version-number-acceptable.sh"

Expand All @@ -229,7 +229,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7.12
python-version: 3.8.12
- id: stop-early
run: if "${GITHUB_WORKSPACE}/.github/has-functional-changes.sh" ; then echo "::set-output name=status::success" ; fi # The `check-for-functional-changes` job should always succeed regardless of the `has-functional-changes` script's exit code. Consequently, we do not use that exit code to trigger deploy, but rather a dedicated output variable `status`, to avoid a job failure if the exit code is different from 0. Conversely, if the job fails the entire workflow would be marked as `failed` which is disturbing for contributors.

Expand All @@ -248,7 +248,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7.12
python-version: 3.8.12
- name: Cache build
id: restore-build
uses: actions/cache@v2
Expand Down

0 comments on commit 9bb2cb0

Please sign in to comment.