Skip to content

Commit 3622597

Browse files
authored
feat: migrate to use typos (#180)
seeing some misspell false report ``` "chilli" is a misspelling of "chili" ``` Signed-off-by: Rui Chen <rui@chenrui.dev>
1 parent 1fd34c7 commit 3622597

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
1-
name: Check spelling errors
1+
name: Check typos
2+
23
on:
34
push:
45
branches:
56
- main
7+
paths:
8+
- "**.md"
9+
- ".github/workflows/**"
610
pull_request:
711
types: [assigned, opened, synchronize, reopened]
12+
paths:
13+
- "**.md"
14+
- ".github/workflows/**"
15+
816
jobs:
9-
misspell:
10-
name: runner / misspell
17+
typos:
1118
runs-on: ubuntu-latest
1219
steps:
1320
- name: Check out code.
1421
uses: actions/checkout@v4
15-
- name: misspell
16-
uses: reviewdog/action-misspell@v1
17-
with:
18-
locale: "US"
22+
- name: typos
23+
uses: crate-ci/typos@v1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ TOC is generated by [markdown-toc](https://github.com/jonschlinkert/markdown-toc
311311

312312
### Multithreading
313313

314-
- [g41797/mailbox](https://github.com/g41797/mailbox) - A convenient inter-thread communication mechanizm.
314+
- [g41797/mailbox](https://github.com/g41797/mailbox) - A convenient inter-thread communication mechanism.
315315

316316
### Embedded Development
317317

0 commit comments

Comments
 (0)