Skip to content

Commit 49522e7

Browse files
authored
Update ruff CI version (#6418)
1 parent a47b328 commit 49522e7

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -314,19 +314,22 @@ jobs:
314314
components: clippy
315315
- name: run clippy on wasm
316316
run: cargo clippy --manifest-path=crates/wasm/Cargo.toml -- -Dwarnings
317-
- uses: actions/[email protected]
318-
with:
319-
python-version: ${{ env.PYTHON_VERSION }}
320-
- name: install ruff
321-
run: python -m pip install ruff==0.11.8
317+
322318
- name: Ensure docs generate no warnings
323319
run: cargo doc
324-
- name: run ruff check
325-
run: ruff check --diff
326-
- name: run ruff format
327-
run: ruff format --check
320+
321+
- name: Install ruff
322+
uses: astral-sh/ruff-action@57714a7c8a2e59f32539362ba31877a1957dded1 # v3.5.1
323+
with:
324+
version: "0.14.9"
325+
326+
- run: ruff check --diff
327+
328+
- run: ruff format --check
329+
328330
- name: install prettier
329331
run: yarn global add prettier && echo "$(yarn global bin)" >>$GITHUB_PATH
332+
330333
- name: check wasm code with prettier
331334
# prettier doesn't handle ignore files very well: https://github.com/prettier/prettier/issues/8506
332335
run: cd wasm && git ls-files -z | xargs -0 prettier --check -u

0 commit comments

Comments
 (0)