ci: Add typos check (#698)
This commit is contained in:
8
.github/workflows/rapier-ci-build.yml
vendored
8
.github/workflows/rapier-ci-build.yml
vendored
@@ -89,3 +89,11 @@ jobs:
|
|||||||
run: cd crates/rapier2d && cargo build --verbose --target wasm32-unknown-emscripten --features simd-stable;
|
run: cd crates/rapier2d && cargo build --verbose --target wasm32-unknown-emscripten --features simd-stable;
|
||||||
- name: build rapier3d --features simd-stable
|
- name: build rapier3d --features simd-stable
|
||||||
run: cd crates/rapier3d && cargo build --verbose --target wasm32-unknown-emscripten --features simd-stable;
|
run: cd crates/rapier3d && cargo build --verbose --target wasm32-unknown-emscripten --features simd-stable;
|
||||||
|
# If this fails, consider changing your text or adding something to .typos.toml
|
||||||
|
# You can find typos here: https://crates.io/crates/typos'
|
||||||
|
typos:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: check typos
|
||||||
|
uses: crate-ci/typos@v1.23.2
|
||||||
|
|||||||
14
.typos.toml
Normal file
14
.typos.toml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# Corrections take the form of a key/value pair. The key is the incorrect word
|
||||||
|
# and the value is the correct word. If the key and value are the same, the
|
||||||
|
# word is treated as always correct. If the value is an empty string, the word
|
||||||
|
# is treated as always incorrect.
|
||||||
|
|
||||||
|
# Case senstive, matches entire word.
|
||||||
|
[default.extend-identifiers]
|
||||||
|
anc_color = "anc_color"
|
||||||
|
PN = "PN"
|
||||||
|
rady = "rady"
|
||||||
|
|
||||||
|
# Case insenstive, matches inside word.
|
||||||
|
[default.extend-words]
|
||||||
|
toi = "toi"
|
||||||
Reference in New Issue
Block a user