Skip to content

Commit

Permalink
Update pylint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksejalex authored Jan 26, 2024
1 parent e3958f9 commit 0b0a71f
Showing 1 changed file with 45 additions and 16 deletions.
61 changes: 45 additions & 16 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,50 @@ name: Pylint
on: [push]

jobs:
build:
pylint39:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- 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')
uses: actions/checkout@v3
name: Set up Python 3.9
uses: actions/setup-python@v3
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')

0 comments on commit 0b0a71f

Please sign in to comment.