Bump mhils/workflows from 16 to 17 in the github-actions group #319
Workflow file for this run
This file contains 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
name: autofix.ci | |
on: | |
workflow_call: | |
pull_request: | |
push: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
autofix: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Use uv to ensure we have the same ruff version in CI and locally. | |
- uses: astral-sh/setup-uv@4db96194c378173c656ce18a155ffc14a9fc4355 | |
with: | |
version: "0.4.20" | |
# Fix lint errors | |
- run: uv run ruff check --fix-only . | |
# Format code | |
- run: uv run ruff format . | |
- uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef |