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