Skip to content

Update pylint.yml

Update pylint.yml #3

Workflow file for this run

name: Pylint
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Run Pylint
run: |
pylint getai/*.py
- name: Report pylint errors
if: failure()
run: |
echo "Pylint found issues in the code. Please review the errors above."