matrix-webhook/.gitea/workflows/lint.yml
Sergey Besedin c75ea1b07b
Some checks failed
Publish on Docker Hub / docker-hub (push) Failing after 3m37s
Test entrypoints / test-entrypoints (push) Successful in 46s
Lints / lint (push) Failing after 40s
Tests / tests (push) Failing after 2m54s
Forgot about this
2024-09-20 23:05:57 +04:00

18 lines
485 B
YAML

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