Repository navigation
ci: use pinned Ruff pre-commit hook in lint workflow #21209
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://beta.ruff.rs | |
| name: ruff | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| ruff: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - uses: astral-sh/setup-uv@v7 | |
| # Use the same pinned Ruff version as the local pre-commit hook. | |
| - name: Lint with Ruff (pre-commit) | |
| run: uvx pre-commit run ruff-check --all-files |