Skip to content

add CI

add CI #1

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12.3"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run Ruff linter
run: |
ruff check . \
--select ALL \
--ignore F401,W391 \
--line-length 88
- name: Run Ruff formatter
run: |
ruff format . \
--line-length 88 \
--exclude migrations,venv