Update pycatfile.py
[PyCatFile.git] / .github / workflows / pylint.yml
blob383e65cd036283126ba3fcc21f4d7b7224f96912
1 name: Pylint
3 on: [push]
5 jobs:
6   build:
7     runs-on: ubuntu-latest
8     strategy:
9       matrix:
10         python-version: ["3.8", "3.9", "3.10"]
11     steps:
12     - uses: actions/checkout@v3
13     - name: Set up Python ${{ matrix.python-version }}
14       uses: actions/setup-python@v3
15       with:
16         python-version: ${{ matrix.python-version }}
17     - name: Install dependencies
18       run: |
19         python -m pip install --upgrade pip
20         pip install pylint
21     - name: Analysing the code with pylint
22       run: |
23         pylint $(git ls-files '*.py')