Try getting uv to use arm64 python out of the box #91
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-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/setup-uv@v7 | |
| with: | |
| activate-environment: true | |
| - run: uv sync --locked --only-group=ruff | |
| - run: ruff check --fix --output-format=github | |
| - run: ruff format --output-format=github | |
| # Format even if the the previous step failed | |
| if: ${{ !cancelled() }} | |
| - run: npx dprint fmt | |
| # Format even if the the previous step failed | |
| if: ${{ !cancelled() }} | |
| - uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef |