From b95b4b28c3c53f9160727299c48486efc2dafb76 Mon Sep 17 00:00:00 2001 From: olauby-dlg Date: Tue, 2 Jun 2026 14:58:08 +0200 Subject: [PATCH 1/2] fix: usage of poetry --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a437e06..bd94ae9 100644 --- a/Makefile +++ b/Makefile @@ -30,12 +30,12 @@ run: # Contribute format: - poetry run ruff check --fix . - poetry run ruff format . + uv run ruff check --fix . + uv run ruff format . lint: - poetry run ruff check src - poetry run ruff format --check + uv run ruff check src + uv run ruff format --check typecheck: uv run pyright From 25c0d97c2ae47c386d0ef80b291f7c5c3ec69f14 Mon Sep 17 00:00:00 2001 From: olauby-dlg Date: Tue, 2 Jun 2026 14:58:12 +0200 Subject: [PATCH 2/2] chore: add ci --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..bec5b0b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: CI + +on: + pull_request: + +permissions: + contents: read + +jobs: + ci: + # Only run for PRs raised from branches in this repository, not from forks. + if: github.event.pull_request.head.repo.full_name == github.repository + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install uv + uses: astral-sh/setup-uv@v5 + with: + enable-cache: true + + - name: Run CI + run: make ci