8000 move cspell to last step · RustPython/RustPython@373a94a · GitHub
[go: up one dir, main page]

Skip to content

Commit 373a94a

Browse files
committed
move cspell to last step
1 parent eed3e9c commit 373a94a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -313,13 +313,6 @@ jobs:
313313
runs-on: ubuntu-latest
314314
steps:
315315
- uses: actions/checkout@v4
316-
- name: install extra dictionaries
317-
run: npm install @cspell/dict-en_us @cspell/dict-cpp @cspell/dict-python @cspell/dict-rust @cspell/dict-win32 @cspell/dict-shell
318-
- name: spell checker
319-
uses: streetsidesoftware/cspell-action@v6
320-
with:
321-
files: '**/*.rs'
322-
incremental_files_only: true
323316
- uses: dtolnay/rust-toolchain@stable
324317
with:
325318
components: rustfmt, clippy
@@ -339,6 +332,14 @@ jobs:
339332
- name: check wasm code with prettier
340333
# prettier doesn't handle ignore files very well: https://github.com/prettier/prettier/issues/8506
341334
run: cd wasm && git ls-files -z | xargs -0 prettier --check -u
335+
# Keep cspell check as the last step. This is optional test.
336+
- name: install extra dictionaries
337+
run: npm install @cspell/dict-en_us @cspell/dict-cpp @cspell/dict-python @cspell/dict-rust @cspell/dict-win32 @cspell/dict-shell
338+
- name: spell checker
339+
uses: streetsidesoftware/cspell-action@v6
340+
with:
341+
files: '**/*.rs'
342+
incremental_files_only: true
342343

343344
miri:
344345
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip:ci') }}

0 commit comments

Comments
 (0)
0