mirror of https://github.com/rails/rails
Ignore qunit for spelling check
Only use one tool to check spelling.
This commit is contained in:
parent
13c786f5a7
commit
d7c937b7ff
|
@ -39,13 +39,4 @@ jobs:
|
|||
python -m pip install --upgrade pip
|
||||
pip install codespell==2.1.0
|
||||
- name: Check spelling with codespell
|
||||
run: codespell --ignore-words=codespell.txt || exit 1
|
||||
misspell:
|
||||
name: Check spelling all files in commit with misspell
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install
|
||||
run: wget -O - -q https://raw.githubusercontent.com/client9/misspell/c0b55c8239520f6b5aa15a0207ca8b28027ba49e/install-misspell.sh | sh -s -- -b .
|
||||
- name: Misspell
|
||||
run: git ls-files --empty-directory | xargs ./misspell -i 'aircrafts,devels,invertions' -error
|
||||
run: codespell --ignore-words=codespell.txt --skip="./actionview/test/ujs/public/vendor/qunit.js" || exit 1
|
||||
|
|
Loading…
Reference in New Issue