23 lines
505 B
YAML
23 lines
505 B
YAML
name: Static Analysis
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
static:
|
|
runs-on: self-hosted
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install Python
|
|
run: pip install ruff mypy psycopg2-binary requests fastapi uvicorn python-multipart
|
|
|
|
- name: Lint with ruff
|
|
run: ruff check .
|
|
|
|
- name: Type check with mypy
|
|
run: >
|
|
mypy
|
|
ts_shared_rev.py
|
|
ingest_movement_rev.py
|
|
ingest_events_rev.py
|
|
webhook_receiver_rev.py
|