From d45a415ca6bfef633454ff02951dc68a8600ed2c Mon Sep 17 00:00:00 2001 From: Apricot-S Date: Sun, 16 Aug 2026 19:45:27 +0900 Subject: [PATCH 1/4] chore: Use `--no-default-groups` --- .github/workflows/lint_and_test.yml | 4 ++-- .github/workflows/publish_doc.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint_and_test.yml b/.github/workflows/lint_and_test.yml index 8832074..8ddba89 100644 --- a/.github/workflows/lint_and_test.yml +++ b/.github/workflows/lint_and_test.yml @@ -26,7 +26,7 @@ jobs: python-version: "3.10" - name: Install libs - run: uv sync --no-group dev --group lint + run: uv sync --no-default-groups --group lint - name: Lint files run: make lint @@ -45,7 +45,7 @@ jobs: python-version: "3.10" - name: Install libs - run: uv sync --no-group dev --group typing + run: uv sync --no-default-groups --group typing - name: Check files run: make type diff --git a/.github/workflows/publish_doc.yml b/.github/workflows/publish_doc.yml index 9794ee5..780f787 100644 --- a/.github/workflows/publish_doc.yml +++ b/.github/workflows/publish_doc.yml @@ -32,7 +32,7 @@ jobs: - name: Install libs run: | - uv sync --no-group dev --group docs + uv sync --no-default-groups --group docs echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH echo "VIRTUAL_ENV=$GITHUB_WORKSPACE/.venv" >> $GITHUB_ENV From 58b7255b64e0448fb28382aea0f7409de3615564 Mon Sep 17 00:00:00 2001 From: Apricot-S Date: Sun, 16 Aug 2026 20:06:35 +0900 Subject: [PATCH 2/4] chore: Explicitly run `uv sync` in the `tests` job --- .github/workflows/lint_and_test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/lint_and_test.yml b/.github/workflows/lint_and_test.yml index 8ddba89..f8b574c 100644 --- a/.github/workflows/lint_and_test.yml +++ b/.github/workflows/lint_and_test.yml @@ -67,5 +67,8 @@ jobs: with: python-version: ${{ matrix.python-version }} + - name: Install libs + run: uv sync --no-default-groups --group test + - name: Test with python ${{ matrix.python-version }} run: make tests From f62733fe70dd9b874ec27d38c7af1f1d930a1c13 Mon Sep 17 00:00:00 2001 From: Apricot-S Date: Sun, 16 Aug 2026 20:17:42 +0900 Subject: [PATCH 3/4] chore: Add ` --no-sync` to `uv run` in Makefile --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index ee2f223..20551b4 100644 --- a/Makefile +++ b/Makefile @@ -1,17 +1,17 @@ format: - uv run ruff format - uv run ruff check --fix + uv run --no-sync ruff format + uv run --no-sync ruff check --fix lint: - uv run ruff format --check - uv run ruff check + uv run --no-sync ruff format --check + uv run --no-sync ruff check type: - uv run ty check + uv run --no-sync ty check .PHONY: tests tests: - uv run pytest + uv run --no-sync pytest check: format lint type tests From 273940dd5792e6dcb74a4dcee1ee1ac848b69915 Mon Sep 17 00:00:00 2001 From: Apricot-S Date: Sun, 16 Aug 2026 20:27:04 +0900 Subject: [PATCH 4/4] chore: Add `--no-install-project` in lint and typecheck --- .github/workflows/lint_and_test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint_and_test.yml b/.github/workflows/lint_and_test.yml index f8b574c..4ffa6bd 100644 --- a/.github/workflows/lint_and_test.yml +++ b/.github/workflows/lint_and_test.yml @@ -26,7 +26,7 @@ jobs: python-version: "3.10" - name: Install libs - run: uv sync --no-default-groups --group lint + run: uv sync --no-default-groups --group lint --no-install-project - name: Lint files run: make lint @@ -45,7 +45,7 @@ jobs: python-version: "3.10" - name: Install libs - run: uv sync --no-default-groups --group typing + run: uv sync --no-default-groups --group typing --no-install-project - name: Check files run: make type