Commit 1393055
committed
Merge #30: ci: add typo checking
6968fbf ci: add typo checking (Jose Storopoli)
Pull request description:
Since this is a public-facing documentation/resource repository,
we should be extra-careful and
judicious with typos.
[`typos`](https://github.com/crate-ci/typos) is a powerful source code spell checker.
I've added a CI job that runs on every PR and push to `master` (but can also be run manually with `workflow_dispatch`) that checks for typos.
I've also added a config file `.typos.toml` that deals with false positives and ignore some vendor related files and some filetypes that we don't want to check/correct for typos,
e.g. lock files.
Finally, I've also corrected a few typos that were in the codebase that typos flagged.
If you want to run yourself you can do a cargo install (or binstall) the typos-cli:
```bash
cargo install typos-cli
```
It is also available in several pkg managers,
check the installation options at the [`typos` repo](https://github.com/crate-ci/typos?tab=readme-ov-file#install)
ACKs for top commit:
apoelstra:
utACK 6968fbf
tcharding:
ACK 6968fbf
Tree-SHA512: 442f0e16d528bf13ebe72024f6d6a061d4d10169ae822f8729890cb8cdc1d6cfdfd66f3732af3b1b931f2f9d5ca9596e869ec92b8f359c792c31edf4916dfa12File tree
4 files changed
+39
-7
lines changed- .github/workflows
- cookbook/src
4 files changed
+39
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
| 310 | + | |
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
| 340 | + | |
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
| 341 | + | |
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
| 359 | + | |
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
| |||
0 commit comments