zspotify/.github/workflows/pylint.yml
Leonard Sheng Sheng Lee aa714b8022 fix: pylint
2021-10-25 14:15:03 +02:00

24 lines
512 B
YAML

name: Pylint
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Setup Pylint
run: |
python -m pip install --upgrade pip
pip install pylint
pip install -r requirements.txt
- name: Run Pylint
run: |
pylint $(git ls-files '*.py')