mirror of
https://github.com/bsedin/matrix-webhook.git
synced 2026-01-16 08:05:57 +00:00
18 lines
458 B
YAML
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
|