Skip to content

Commit

Permalink
Update spelling.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Oct 18, 2023
1 parent 5e94988 commit 755cd8d
Showing 1 changed file with 25 additions and 19 deletions.
44 changes: 25 additions & 19 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,36 @@ concurrency:

jobs:
typos_check:
name: "文A Typos"
name: "文A codespell"
runs-on: "ubuntu-22.04"
timeout-minutes: 1
steps:
-
name: "Checkout repository"
uses: "actions/[email protected]"
-
name: "Cache pip"
uses: "actions/cache@v3"
with:
path: "~/.cache/pip"
key: "${{ runner.os }}-pip-codespell"
-
name: "Install codespell"
run: |
pip install --user 'codespell>=2.2'
#-
# name: "Cache pip"
# uses: "actions/cache@v3"
# with:
# path: "~/.cache/pip"
# key: "${{ runner.os }}-pip-codespell"
#-
# name: "Install codespell"
# run: |
# pip install --user 'codespell>=2.2'
-
name: "Search for misspellings"
run: |
"$(python -m site --user-base)/bin/codespell" \
--skip=./.git \
--check-hidden \
--check-filenames \
--builtin=clear,rare,informal,usage,code,names \
--skip=package-lock.json \
--ignore-words-list=master
uses: "codespell-project/[email protected]"
with:
skip: "./.git,package-lock.json"
check_hidden: true
check_filenames: true
builtin: "clear,rare,informal,usage,code,names"
ignore_words_list: "master"
#run: |

Check warning on line 50 in .github/workflows/spelling.yml

View workflow job for this annotation

GitHub Actions / YAML validity

50:13 [comments-indentation] comment not indented like content
# "$(python -m site --user-base)/bin/codespell" \
# --skip="./.git,package-lock.json" \
# --check-hidden \
# --check-filenames \
# --builtin="clear,rare,informal,usage,code,names" \
# --ignore-words-list="master"

0 comments on commit 755cd8d

Please sign in to comment.