matrix-webhook/.github/workflows/lint.yml
Guilhem Saurel 4c677e7cdb typo
2023-03-07 13:22:35 +01:00

19 lines
495 B
YAML

name: Lints
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: poetry
- run: poetry install --with dev --no-interaction
- run: poetry run flake8 .
- run: poetry run black .
- run: poetry run pydocstyle
- run: poetry run safety check
- run: poetry run poetry check