Skip to content

Update workflows.

Update workflows. #21

Workflow file for this run

name: Pylint
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
sparse-checkout: |

Check failure on line 15 in .github/workflows/pylint.yml

View workflow run for this annotation

GitHub Actions / Pylint

Invalid workflow file

The workflow is not valid. .github/workflows/pylint.yml (Line: 15, Col: 7): Unexpected value 'sparse-checkout'
tests/
src/
- 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 -r requirements.txt
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')