Move spellcheck config into .github folder (#10267)

Keep the `.typos.toml` out of the repo root for better readability

Also specify a version for the workflow to protect against breakage
This commit is contained in:
Stefan Holderbach 2023-09-07 22:46:00 +02:00 committed by GitHub
parent 5e951b2be9
commit ae54dc862c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

View File

@ -10,4 +10,6 @@ jobs:
uses: actions/checkout@v3
- name: Check spelling
uses: crate-ci/typos@master
uses: crate-ci/typos@v1.0.4
with:
config: ./.github/.typos.toml

View File

@ -203,7 +203,7 @@ def report [
#
# error: could not compile `nu-command` due to previous error
# ```
# - we remove the useless `.to_string()`, and in that cases, the whole format is useless, only `"x "` is usefull!
# - we remove the useless `.to_string()`, and in that cases, the whole format is useless, only `"x "` is useful!
# but now the tests do not pass :sob:
# ```nushell
# running `toolkit fmt`