7
.github/workflows/python-syntax-checker.yml
vendored
7
.github/workflows/python-syntax-checker.yml
vendored
@@ -14,11 +14,13 @@ jobs:
|
||||
python-version: ['3.7', '3.8', '3.9', '3.10', '3.x']
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
@@ -27,6 +29,7 @@ jobs:
|
||||
# pip install flake8 pytest
|
||||
# next line is for future use of requirements file
|
||||
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
|
||||
- name: Lint with flake8
|
||||
run: |
|
||||
# stop the build if there are Python syntax errors or undefined names
|
||||
|
||||
Reference in New Issue
Block a user