Update pylint.yml

This commit is contained in:
Arash Hatami 2022-09-25 13:14:22 +03:30
parent 6da39c430b
commit ff99d45c4b
No known key found for this signature in database
GPG Key ID: D3D9E8CB2E49731F
1 changed files with 16 additions and 12 deletions

View File

@ -9,15 +9,19 @@ jobs:
matrix:
python-version: ["3.8", "3.9", "3.10"]
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')
- name: Checkout project
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: Analyzing the code with pylint
run: |
pylint $(git ls-files '*.py')