Skip to content

Commit

Permalink
CI: Use Python 3.9 for PyLint presubmit action
Browse files Browse the repository at this point in the history
 - Use Python 3.9 instead of Python 3.8 for PyLint presubmit action.
 - Update the setup-python action to v2, which is actively maintained.
 - Parse the Python version as a string ("3.9" instead of 3.9), since otherwise  Python 3.10 will be rounded and processed as Python 3.1.
  • Loading branch information
EwoutH authored Nov 4, 2021
1 parent 68e093a commit 5d66435
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pylint-presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
- name: Report list of changed files
run: |
echo Changed files: ${{ steps.get_file_changes.outputs.files }}
- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.9"
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit 5d66435

Please sign in to comment.