mirror of
https://github.com/zebrajr/tensorflow.git
synced 2026-01-15 12:15:41 +00:00
CI: Use Python 3.9 for PyLint presubmit action
- 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.
This commit is contained in:
6
.github/workflows/pylint-presubmit.yml
vendored
6
.github/workflows/pylint-presubmit.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user