Skip to content

Commit 74bc9b2

Browse files
1egomanclaude
andcommitted
ci: run ruff from uv.lock instead of uvx latest
`uvx ruff` resolves to the newest ruff release on every run, so the 0.16.0 release turned CI red on main and on open PRs without any code change: its expanded default rule set reports 700+ findings and its formatter now rewrites code blocks in markdown. Using `uv run ruff` pins the linter to the version in uv.lock (0.15.4), so lint results only move when the lockfile is intentionally updated. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 16eefbb commit 74bc9b2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ruff.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ jobs:
1818
- name: Install the project
1919
run: uv sync --all-extras --dev
2020

21+
# Use the ruff version pinned in uv.lock rather than uvx's latest release,
22+
# so lint results only change when the lockfile is intentionally updated.
2123
- name: Ruff livekit-api
22-
run: uvx ruff check --output-format=github .
24+
run: uv run ruff check --output-format=github .
2325

2426
- name: Check format
25-
run: uvx ruff format --check .
27+
run: uv run ruff format --check .

0 commit comments

Comments
 (0)