From 7fb5864e9091f93cd101bddd2ac0b486242e3019 Mon Sep 17 00:00:00 2001 From: Romain Doulaud Date: Sun, 11 Jan 2026 14:31:05 +0100 Subject: [PATCH] feat: ci --- .github/workflows/ci.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c2e3c82 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,34 @@ +name: CI + +on: + push: + branches: [main, ci] + pull_request: + +jobs: + checks: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.13" + + - name: Install uv + run: pip install uv + + - name: Install dependencies + run: uv sync --all-extras --dev + + - name: Ruff format check + run: uv run ruff format --check . + + - name: Ruff lint + run: uv run ruff check . + + - name: Type check + run: uv run ty check