mirror of
https://github.com/bsedin/matrix-webhook.git
synced 2026-04-09 03:15:40 +00:00
20 lines
548 B
YAML
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
|