File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,20 @@ jobs:
46
46
run : cargo build --verbose
47
47
- name : Run tests
48
48
run : cargo test --verbose
49
+ typos :
50
+ # If this fails, consider changing your text or adding something to .typos.toml
51
+ runs-on : ubuntu-latest
52
+ steps :
53
+ - uses : actions/checkout@v4
54
+ - name : check typos
55
+ uses : crate-ci/typos@v1.23.6
49
56
build_result :
50
57
name : Result
51
58
runs-on : ubuntu-latest
52
59
needs :
53
60
- " build"
54
61
- " semver"
62
+ - " typos"
55
63
steps :
56
64
- name : Mark the job as successful
57
65
run : exit 0
Original file line number Diff line number Diff line change
1
+ # See the configuration reference at
2
+ # https://github.com/crate-ci/typos/blob/master/docs/reference.md
3
+
4
+ # Corrections take the form of a key/value pair. The key is the incorrect word
5
+ # and the value is the correct word. If the key and value are the same, the
6
+ # word is treated as always correct. If the value is an empty string, the word
7
+ # is treated as always incorrect.
8
+
9
+ # Match Identifier - Case Sensitive
10
+ [default .extend-identifiers ]
11
+ setShowsApplicatinBadge_ = " setShowsApplicatinBadge_"
12
+ showsApplicatinBadge = " showsApplicatinBadge"
13
+
14
+ # Match Inside a Word - Case Insensitive
15
+ [default .extend-words ]
16
+
17
+ [files ]
18
+ # Include .github, .cargo, etc.
19
+ ignore-hidden = false
20
+ # /.git isn't in .gitignore, because git never tracks it.
21
+ # Typos doesn't know that, though.
22
+ extend-exclude = [" /.git" ]
23
+
You can’t perform that action at this time.
0 commit comments