Heimdallr/.github/workflows/pylint.yml

25 lines
573 B
YAML
Raw Permalink Normal View History

2022-07-21 20:53:46 +02:00
name: Pylint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
2022-07-21 21:30:15 +02:00
pip install poetry
poetry install
2022-07-21 20:53:46 +02:00
- name: Analysing the code with pylint
run: |
2022-07-21 21:30:15 +02:00
poetry run pylint $(git ls-files '*.py')