Skip to content

Commit b550f34

Browse files
ci: use pinned Ruff pre-commit hook in lint workflow
1 parent 574d100 commit b550f34

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/ruff.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ jobs:
1515
with:
1616
persist-credentials: false
1717
- uses: astral-sh/setup-uv@v7
18-
- run: uvx ruff check --output-format=github .
18+
# Use the same pinned Ruff version as the local pre-commit hook.
19+
- name: Lint with Ruff (pre-commit)
20+
run: uvx pre-commit run ruff-check --all-files

0 commit comments

Comments
 (0)