Skip to content

Lint

Lint #345

Workflow file for this run

name: Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "31 1,12 * * *"
workflow_dispatch:
jobs:
lint:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
- uses: actions/setup-python@v7
with:
python-version-file: .python-version
- run: uv sync --group dev
- run: uv run ruff check .
- run: uv run ruff format --check .