Skip to content

Commit d0f7d98

Browse files
authored
ci(style): add typos-cli to CI flow (#2468)
* ci(style): add typos-cli to CI flow * remove unused input * ci(compat): removed typos action and added hardcoded alternative * introduce intentional positive * revert inteional typo
1 parent 26b0451 commit d0f7d98

1 file changed

Lines changed: 19 additions & 12 deletions

File tree

.github/workflows/main.yml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,14 @@ jobs:
361361
- run: rustup component add clippy
362362
- run: cargo clippy --workspace --all-targets --exclude dl --exclude component
363363

364+
typos:
365+
runs-on: ubuntu-latest
366+
steps:
367+
- uses: actions/checkout@v6
368+
- uses: cargo-bins/cargo-binstall@v1.17.9
369+
- run: cargo binstall typos-cli@1.44.0 --no-confirm
370+
- run: typos
371+
364372
verify-publish:
365373
if: github.repository_owner == 'bytecodealliance'
366374
runs-on: ubuntu-latest
@@ -380,20 +388,21 @@ jobs:
380388
name: Record the result of testing and building steps
381389
runs-on: ubuntu-latest
382390
needs:
383-
- test
384-
- testdl
385-
- wasm
386-
- rustfmt
387-
- fuzz
391+
- build
388392
- check
393+
- clippy
389394
- doc
390-
- build
391-
- verify-publish
395+
- fuzz
396+
- generated_files_up_to_date
397+
- rustfmt
398+
- test
399+
- test-prefer-btree-collections
392400
- test_capi
393401
- test_extra_features
394-
- test-prefer-btree-collections
395-
- clippy
396-
- generated_files_up_to_date
402+
- testdl
403+
- typos
404+
- verify-publish
405+
- wasm
397406
if: always()
398407

399408
steps:
@@ -423,5 +432,3 @@ jobs:
423432
submodules: true
424433
fetch-depth: 0
425434
- uses: ./.github/actions/publish-release
426-
with:
427-
cargo_token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)