Files

24 lines
554 B
YAML
Raw Permalink Normal View History

2020-01-08 21:39:31 +08:00
name: Pylint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
2021-10-22 01:14:49 -04:00
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
2020-01-08 21:39:31 +08:00
steps:
- uses: actions/checkout@v2
2021-10-22 01:14:49 -04:00
- name: Set up Python ${{ matrix.python-version }}
2021-06-21 13:32:13 -04:00
uses: actions/setup-python@v2
2020-01-08 21:39:31 +08:00
with:
2021-10-22 01:14:49 -04:00
python-version: ${{ matrix.python-version }}
2020-01-08 21:39:31 +08:00
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
2020-09-16 14:49:17 +04:00
- name: Analysing the code with pylint
2020-01-08 21:39:31 +08:00
run: |
pylint `ls -R|grep .py$|xargs`