Skip to content

Update pylint.yml

Update pylint.yml #4

Workflow file for this run

name: Pylint
on: [push]
jobs:
pylint39:
runs-on: ubuntu-latest
steps:
uses: actions/checkout@v3
name: Set up Python 3.9
uses: actions/setup-python@v3

Check failure on line 11 in .github/workflows/pylint.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pylint.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
with:
python-version: 3.9
name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
pylint310:
runs-on: ubuntu-latest
steps:
uses: actions/checkout@v3
name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: 3.10
name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
pylint312:
runs-on: ubuntu-latest
steps:
uses: actions/checkout@v3
name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: 3.12
name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')