Skip to content

Commit 901e155

Browse files
committed
1 parent 413eb0e commit 901e155

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

.github/workflows/spell_checking.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,11 @@ jobs:
1010
codespell:
1111
name: Check spelling of all files with codespell
1212
runs-on: ubuntu-latest
13-
strategy:
14-
matrix:
15-
python-version: [3.8]
1613
steps:
1714
- uses: actions/checkout@v3
18-
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v4
15+
- uses: codespell-project/actions-codespell@v1
2016
with:
21-
python-version: ${{ matrix.python-version }}
22-
- name: Install dependencies
23-
run: |
24-
python -m pip install --upgrade pip
25-
pip install codespell
26-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
27-
- name: Check spelling with codespell
28-
run: codespell --ignore-words=codespell.txt || exit 1
17+
ignore_words_file: codespell.txt
2918
misspell:
3019
name: Check spelling of all files in commit with misspell
3120
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)