Python 3.15 (Faster startup with auto-lazy imports) #352
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://autofix.ci/setup#getting-started | |
| name: autofix.ci # needed to securely identify the workflow | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| autofix: | |
| runs-on: ubuntu-24.04-arm | |
| env: | |
| RUFF_OUTPUT_FORMAT: github | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: astral-sh/setup-uv@v7 | |
| with: | |
| activate-environment: true | |
| # Not locked, this will fix lock file if we forgot about it | |
| - run: uv sync --only-group=formatters | |
| - run: ruff check --fix | |
| - run: ruff format | |
| # Format even if the the previous step failed | |
| if: ${{ !cancelled() }} | |
| - run: dprint fmt | |
| # Format even if the the previous step failed | |
| if: ${{ !cancelled() }} | |
| - uses: autofix-ci/action@7a166d7532b277f34e16238930461bf77f9d7ed8 | |
| # Apply fixes even if linting failed | |
| if: ${{ !cancelled() }} |