Skip to content

Commit f03cbf2

Browse files
authored
Merge pull request #7582 from drinkcat/cspell-all
ci: Enable cspell on test on dotfiles too
2 parents d33d731 + 28bfac3 commit f03cbf2

File tree

14 files changed

+32
-18
lines changed

14 files changed

+32
-18
lines changed

.editorconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# EditorConfig (is awesome!; ref: http://EditorConfig.org; v2022.02.11 [rivy])
2+
# spell-checker:ignore akefile shellcheck vcproj
23

34
# * top-most EditorConfig file
45
root = true
@@ -52,7 +53,7 @@ indent_style = space
5253
switch_case_indent = true
5354

5455
[*.{sln,vc{,x}proj{,.*},[Ss][Ln][Nn],[Vv][Cc]{,[Xx]}[Pp][Rr][Oo][Jj]{,.*}}]
55-
# MSVC sln/vcproj/vcxproj files, when used, will persistantly revert to CRLF EOLNs and eat final EOLs
56+
# MSVC sln/vcproj/vcxproj files, when used, will persistently revert to CRLF EOLNs and eat final EOLs
5657
end_of_line = crlf
5758
insert_final_newline = false
5859

.envrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# spell-checker:ignore direnv
2+
13
if ! has nix_direnv_version || ! nix_direnv_version 3.0.6; then
24
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.6/direnvrc" "sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM="
35
fi

.github/workflows/CICD.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: CICD
22

33
# spell-checker:ignore (abbrev/names) CICD CodeCOV MacOS MinGW MSVC musl taiki
44
# spell-checker:ignore (env/flags) Awarnings Ccodegen Coverflow Cpanic Dwarnings RUSTDOCFLAGS RUSTFLAGS Zpanic CARGOFLAGS
5-
# spell-checker:ignore (jargon) SHAs deps dequote softprops subshell toolchain fuzzers
6-
# spell-checker:ignore (people) Peltoche rivy dtolnay
7-
# spell-checker:ignore (shell/tools) choco clippy dmake dpkg esac fakeroot fdesc fdescfs gmake grcov halium lcov libssl mkdir popd printf pushd rsync rustc rustfmt rustup shopt utmpdump xargs
8-
# spell-checker:ignore (misc) aarch alnum armhf bindir busytest coreutils defconfig DESTDIR gecos gnueabihf issuecomment maint multisize nullglob onexitbegin onexitend pell runtest Swatinem tempfile testsuite toybox uutils
5+
# spell-checker:ignore (jargon) SHAs deps dequote softprops subshell toolchain fuzzers dedupe devel
6+
# spell-checker:ignore (people) Peltoche rivy dtolnay Anson dawidd
7+
# spell-checker:ignore (shell/tools) binutils choco clippy dmake dpkg esac fakeroot fdesc fdescfs gmake grcov halium lcov libclang libfuse libssl limactl mkdir nextest nocross pacman popd printf pushd redoxer rsync rustc rustfmt rustup shopt sccache utmpdump xargs
8+
# spell-checker:ignore (misc) aarch alnum armhf bindir busytest coreutils defconfig DESTDIR gecos getenforce gnueabihf issuecomment maint manpages msys multisize noconfirm nullglob onexitbegin onexitend pell runtest Swatinem tempfile testsuite toybox uutils
99

1010
env:
1111
PROJECT_NAME: coreutils

.github/workflows/CheckScripts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: CheckScripts
22

3-
# spell-checker:ignore ludeeus mfinelli
3+
# spell-checker:ignore ludeeus mfinelli shellcheck scandir shfmt
44

55
env:
66
SCRIPT_DIR: 'util'

.github/workflows/FixPR.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: FixPR
22

3-
# spell-checker:ignore Swatinem dtolnay
3+
# spell-checker:ignore Swatinem dtolnay dedupe
44

55
# Trigger automated fixes for PRs being merged (with associated commits)
66

.github/workflows/GnuComment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: GnuComment
22

3+
# spell-checker:ignore zizmor backquote
4+
35
on:
46
workflow_run:
57
workflows: ["GnuTests"]

.github/workflows/GnuTests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: GnuTests
22

33
# spell-checker:ignore (abbrev/names) CodeCov gnulib GnuTests Swatinem
4-
# spell-checker:ignore (jargon) submodules
5-
# spell-checker:ignore (libs/utils) autopoint chksum gperf lcov libexpect pyinotify shopt texinfo valgrind libattr libcap taiki-e
4+
# spell-checker:ignore (jargon) submodules devel
5+
# spell-checker:ignore (libs/utils) autopoint chksum getenforce gperf lcov libexpect limactl pyinotify setenforce shopt texinfo valgrind libattr libcap taiki-e
66
# spell-checker:ignore (options) Ccodegen Coverflow Cpanic Zpanic
77
# spell-checker:ignore (people) Dawid Dziurla * dawidd dtolnay
88
# spell-checker:ignore (vars) FILESET SUBDIRS XPASS

.github/workflows/android.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Android
22

3-
# spell-checker:ignore TERMUX reactivecircus Swatinem noaudio pkill swiftshader dtolnay juliangruber
3+
# spell-checker:ignore (people) reactivecircus Swatinem dtolnay juliangruber
4+
# spell-checker:ignore (shell/tools) TERMUX nextest udevadm pkill
5+
# spell-checker:ignore (misc) swiftshader playstore DATALOSS noaudio
46

57
on:
68
pull_request:
@@ -152,7 +154,7 @@ jobs:
152154
# The version vX at the end of the key is just a development version to avoid conflicts in
153155
# the github cache during the development of this workflow
154156
key: ${{ matrix.arch }}_${{ matrix.target}}_${{ steps.read_rustc_hash.outputs.content }}_${{ hashFiles('**/Cargo.toml', '**/Cargo.lock') }}_v3
155-
- name: Collect information about runner ressources
157+
- name: Collect information about runner resources
156158
if: always()
157159
continue-on-error: true
158160
run: |
@@ -179,7 +181,7 @@ jobs:
179181
util/android-commands.sh build
180182
util/android-commands.sh tests
181183
if [ "${{ steps.rust-cache.outputs.cache-hit }}" != 'true' ]; then util/android-commands.sh sync_image; fi; exit 0
182-
- name: Collect information about runner ressources
184+
- name: Collect information about runner resources
183185
if: always()
184186
continue-on-error: true
185187
run: |
@@ -197,7 +199,7 @@ jobs:
197199
with:
198200
name: test_output_${{ env.AVD_CACHE_KEY }}
199201
path: output
200-
- name: Collect information about runner ressources
202+
- name: Collect information about runner resources
201203
if: always()
202204
continue-on-error: true
203205
run: |

.github/workflows/code-quality.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Code Quality
22

3-
# spell-checker:ignore TERMUX reactivecircus Swatinem noaudio pkill swiftshader dtolnay juliangruber
3+
# spell-checker:ignore (people) reactivecircus Swatinem dtolnay juliangruber pell taplo
4+
# spell-checker:ignore (misc) TERMUX noaudio pkill swiftshader esac sccache pcoreutils shopt subshell dequote
45

56
on:
67
pull_request:
@@ -153,7 +154,7 @@ jobs:
153154
cfg_files=($(shopt -s nullglob ; echo {.vscode,.}/{,.}c[sS]pell{.json,.config{.js,.cjs,.json,.yaml,.yml},.yaml,.yml} ;))
154155
cfg_file=${cfg_files[0]}
155156
unset CSPELL_CFG_OPTION ; if [ -n "$cfg_file" ]; then CSPELL_CFG_OPTION="--config $cfg_file" ; fi
156-
S=$(cspell ${CSPELL_CFG_OPTION} --no-summary --no-progress "**/*") && printf "%s\n" "$S" || { printf "%s\n" "$S" ; printf "%s" "$S" | sed -E -n "s/${PWD//\//\\/}\/(.*):(.*):(.*) - (.*)/::${fault_type} file=\1,line=\2,col=\3::${fault_type^^}: \4 (file:'\1', line:\2)/p" ; fault=true ; true ; }
157+
S=$(cspell ${CSPELL_CFG_OPTION} --no-summary --no-progress .) && printf "%s\n" "$S" || { printf "%s\n" "$S" ; printf "%s" "$S" | sed -E -n "s/${PWD//\//\\/}\/(.*):(.*):(.*) - (.*)/::${fault_type} file=\1,line=\2,col=\3::${fault_type^^}: \4 (file:'\1', line:\2)/p" ; fault=true ; true ; }
157158
if [ -n "${{ steps.vars.outputs.FAIL_ON_FAULT }}" ] && [ -n "$fault" ]; then exit 1 ; fi
158159
159160
toml_format:

.github/workflows/freebsd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: FreeBSD
22

3-
# spell-checker:ignore sshfs usesh vmactions taiki Swatinem esac fdescfs fdesc
3+
# spell-checker:ignore sshfs usesh vmactions taiki Swatinem esac fdescfs fdesc sccache nextest copyback
44

55
env:
66
# * style job configuration

0 commit comments

Comments
 (0)