Files
IPTV/.github/workflows/pylint.yml
T
Zachary Alexander ef21e315ce Run the Pylint workflow on ubuntu-24.04
ubuntu-latest is moving to Ubuntu 26.04, and actions/setup-python has
no Python 3.8 or 3.9 build for 26.04, so the 3.8 and 3.9 legs of the
pylint matrix fail at setup. Pin the job to ubuntu-24.04, which still
has every version in the matrix.
2026-11-04 00:02:10 +00:00

24 lines
576 B
YAML

name: Pylint
on: [push]
jobs:
build:
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
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')