From ba27b75265c3a2c727d6266887e18735fce6c75e Mon Sep 17 00:00:00 2001 From: Max Buckley Date: Sat, 23 May 2026 15:50:44 +0200 Subject: [PATCH] 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) --- .github/workflows/ruff.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index b9250e0..f1ec097 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -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"