matrix-webhook/.github/workflows/lint.yml
2023-03-09 11:56:37 +01:00

18 lines
458 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 black .
- run: poetry run ruff .
- run: poetry run safety check
- run: poetry run poetry check