mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-09-30 08:13:12 +00:00
fix: pin ruff to 0.15.22 in ci-python-sam and ci-python-app workflows (#88)
Some checks failed
ci / ci / ci (push) Has been cancelled
Some checks failed
ci / ci / ci (push) Has been cancelled
Unpinned pip install ruff let ruff 0.16.0 pick up expanded default lint rules, breaking every caller repo without its own ruff config. Pinning prevents implicit rule-set changes on new ruff releases. Refs: #87 Co-authored-by: amoussa1229 <166072409+amoussa1229@users.noreply.github.com>
This commit is contained in:
parent
7b34404e40
commit
f71002a9ed
2 changed files with 2 additions and 2 deletions
2
.github/workflows/ci-python-app.yaml
vendored
2
.github/workflows/ci-python-app.yaml
vendored
|
|
@ -61,7 +61,7 @@ jobs:
|
||||||
python-version: ${{ inputs.python-version }}
|
python-version: ${{ inputs.python-version }}
|
||||||
|
|
||||||
- name: Install ruff
|
- name: Install ruff
|
||||||
run: pip install ruff
|
run: pip install 'ruff==0.15.22'
|
||||||
|
|
||||||
- name: Ruff check
|
- name: Ruff check
|
||||||
run: ruff check ${{ inputs.source-dirs }}
|
run: ruff check ${{ inputs.source-dirs }}
|
||||||
|
|
|
||||||
2
.github/workflows/ci-python-sam.yaml
vendored
2
.github/workflows/ci-python-sam.yaml
vendored
|
|
@ -59,7 +59,7 @@ jobs:
|
||||||
python-version: ${{ inputs.python-version }}
|
python-version: ${{ inputs.python-version }}
|
||||||
|
|
||||||
- name: Install ruff
|
- name: Install ruff
|
||||||
run: pip install ruff
|
run: pip install 'ruff==0.15.22'
|
||||||
|
|
||||||
- name: Ruff check
|
- name: Ruff check
|
||||||
run: ruff check ${{ inputs.source-dirs }}
|
run: ruff check ${{ inputs.source-dirs }}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue