Files
starter-workflows/ci/pylint.yml
T

24 lines
553 B
YAML
Raw 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:
2022-03-28 13:10:48 -04:00
- uses: actions/checkout@v3
2021-10-22 01:14:49 -04:00
- name: Set up Python ${{ matrix.python-version }}
2022-03-28 13:10:48 -04:00
uses: actions/setup-python@v3
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: |
2022-01-19 15:41:20 -08:00
pylint $(git ls-files '*.py')