From 624febc83dad4576fdd62248ead026078825e82d Mon Sep 17 00:00:00 2001 From: garfield-oo7 <77141836+garfield-oo7@users.noreply.github.com> Date: Sat, 7 Nov 2026 01:55:21 +0800 Subject: [PATCH] ci: pin ruff in code quality workflow to the locked version ruff-action used version: latest, so every new Ruff release turns on rules the code base does not follow yet. Ruff 0.17.4 reports 21 errors in files untouched by the PRs, so the Ruff job has been failing on every pull request. Pin both steps to 0.14.10, the version in uv.lock and the dev group (ruff>=0.14.10), so CI checks with the same Ruff as make lint. --- .github/workflows/code_quality.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index fe399531..2a747286 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -20,11 +20,11 @@ jobs: - name: Ruff Check uses: astral-sh/ruff-action@v3 with: - version: latest + version: "0.14.10" - name: Ruff Format uses: astral-sh/ruff-action@v3 with: - version: latest + version: "0.14.10" args: format --check ty: name: Type Check & Markdown Format