Use astral-sh/ruff-action for inline PR annotations

Swap the manual pip install + ruff check steps for astral-sh/ruff-action@v4.0.0.
Same pinned ruff 0.15.7, but with --output-format=github so violations appear
as inline annotations on the PR diff instead of a flat log.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Max Buckley
2026-05-23 15:50:44 +02:00
parent cfa8123b67
commit ba27b75265
+3 -4
View File
@@ -10,8 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: astral-sh/ruff-action@v4.0.0
with:
python-version: "3.10"
- run: pip install ruff==0.15.7
- run: ruff check .
version: "0.15.7"
args: "check --output-format=github"