File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff 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- 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
You can’t perform that action at this time.
0 commit comments