diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 72ae69e..0f33e32 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -15,9 +15,17 @@ jobs: uses: actions/checkout@v4 - name: Lint uses: astral-sh/ruff-action@v3 + with: + # Pin the ruff version so CI matches what contributors resolve + # locally. ruff-action defaults to the latest release, which drifts + # (e.g. 0.16.0 enabled stricter rules that flag pre-existing code) + # and turns green PRs red without any code change. Bump this + # deliberately alongside any lint fixes. + version: "0.15.12" - name: Format uses: astral-sh/ruff-action@v3 with: + version: "0.15.12" args: "format --check" ty: name: Ty