Files
matrix-webhook/.gitea/workflows/lint.yml
Sergey Besedin b75c6a8b2c
Some checks failed
Publish on Docker Hub / docker-hub (push) Failing after 40s
Test entrypoints / test-entrypoints (push) Failing after 1m1s
Lints / lint (push) Failing after 36s
Tests / tests (push) Failing after 1m17s
arst
2024-09-20 03:47:52 +04:00

20 lines
548 B
YAML

name: Lints
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
github-server-url: 'http://gitea:3000'
- 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