File tree Expand file tree Collapse file tree 1 file changed +6
-14
lines changed
Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -28,20 +28,12 @@ jobs:
2828 git config user.name github-actions[bot]
2929 git config user.email 41898282+github-actions[bot]@users.noreply.github.com
3030
31- - name : Install spellcheck dependencies
32- run : |
33- npm install -g cspell jq
34-
35- - name : Run cspell and format results
36- run : |
37- cspell --config cspell.json "docs/**/*.md"
38-
39- - name : Fail on errors
40- run : |
41- if [[ $? -ne 0 ]]; then
42- echo "There are spelling errors in your code. Please fix them and try again."
43- exit 1
44- fi
31+ - name : Check spelling
32+ uses : streetsidesoftware/cspell-action@v7
33+ with :
34+ files : " docs/**/*.md"
35+ config : cspell.json
36+ strict : true
4537
4638 - name : Install uv and set the python version to ${{ env.python-version }}
4739 uses : astral-sh/setup-uv@v5
You can’t perform that action at this time.
0 commit comments