From 47343edea801271837cf9568cdbaa5aed81e8f56 Mon Sep 17 00:00:00 2001 From: Asuka Minato Date: Tue, 22 Jul 2025 18:28:20 +0900 Subject: [PATCH] fix --- .github/workflows/autofix.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index c094443c69..bd62e773a4 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -15,11 +15,13 @@ jobs: # Use uv to ensure we have the same ruff version in CI and locally. - uses: astral-sh/setup-uv@7edac99f961f18b581bbd960d59d049f04c0002f - - run: uv add ruff --dev - # Fix lint errors - - run: uv run ruff check --fix-only . - # Format code - - run: uv run ruff format . + - run: | + cd api + uv sync --dev + # Fix lint errors + uv run ruff check --fix-only . + # Format code + uv run ruff format . - uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27