-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
crate-ci/typos
action to check for typos
The misspell tool that we used previously has no exclude switch for ignoring translated files. Also, it looks like it is not maintained anymore. In addition to changing our spell checker, this commit renames the `Build Site` workflow to `Blog` (to be consistent with our `Code` workflow).
- Loading branch information
Showing
2 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Build Site | ||
name: Blog | ||
|
||
on: | ||
push: | ||
|
@@ -59,10 +59,10 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- run: curl -L https://git.io/misspell | bash | ||
name: "Install misspell" | ||
- run: bin/misspell -error blog/content | ||
name: "Check for common typos" | ||
- name: Typo Check | ||
uses: crate-ci/[email protected] | ||
with: | ||
files: blog | ||
|
||
deploy_site: | ||
name: "Deploy Generated Site" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[files] | ||
extend-exclude = [ | ||
"*.svg", | ||
"*.zh-CN.md", | ||
"*.ja.md", | ||
] | ||
|
||
[default.extend-words] | ||
IST = "IST" # Interrupt Stack Table | ||
|
||
[default.extend-identifiers] | ||
TheBegining = "TheBegining" # GitHub user mentioned in status reports | ||
h015bf61815bb8afe = "h015bf61815bb8afe" # mangled name used in code example |