Skip to content

Workflow file for this run

name: Pylint
on:
push:
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- name: Checkout repo
uses: actions/checkout@v2

Check failure on line 11 in .github/workflows/linter.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/linter.yaml

Invalid workflow file

You have an error in your yaml syntax on line 11
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install dependencies
run: |
sudo apt update
python -m pip install --upgrade --no-cache-dir pip setuptools
python -m pip install --exists-action=w --no-cache-dir -r requirements1.txt
python -m pip install --exists-action=w --no-cache-dir -r requirements2.txt
python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt
python -m pip install --upgrade --upgrade-strategy eager --no-cache-dir .
- name: Run Pylint
run: pylint your_module_name