Skip to content

Commit 35a1d3f

Browse files
committed
Add typos for CI, include typos.toml
1 parent 3052fe3 commit 35a1d3f

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,15 @@ jobs:
7070
run: rustup update stable && rustup default stable && rustup component add rustfmt
7171
- run: cargo fmt --check
7272

73+
spelling:
74+
name: Spell Check with Typos
75+
runs-on: ubuntu-latest
76+
steps:
77+
- name: Checkout Actions Repository
78+
uses: actions/checkout@v4
79+
- name: Spell Check repo
80+
uses: crate-ci/[email protected]
81+
7382
gui:
7483
name: GUI tests
7584
runs-on: ubuntu-latest

typos.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[files]
2+
extend-exclude = [
3+
"test_book/",
4+
"*.css",
5+
"tests/summary_md_files/the_book-2nd_edition.md",
6+
"CHANGELOG.md",
7+
"tests/parse_existing_summary_files.rs",
8+
"src/front-end/fonts/fontawesome-webfont.svg",
9+
"src/front-end/searcher/elasticlunr.min.js",
10+
"src/front-end/playground_editor/ace.js",
11+
"src/front-end/playground_editor/ace.js",
12+
"src/front-end/js/highlight.js",
13+
"src/front-end/js/book.js",
14+
"src/preprocess/links.rs",
15+
"src/preprocess/links.rs",
16+
"src/book/book.rs",
17+
"src/renderer/html_handlebars/hbs_renderer.rs",
18+
]

0 commit comments

Comments
 (0)