diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 0f9ef4a..2fa90c6 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -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')