Skip to content

Commit

Permalink
Merge pull request #246 from koic/sync_spell_checking_workflow
Browse files Browse the repository at this point in the history
Use Codespell GitHub Actions
  • Loading branch information
koic authored Mar 20, 2023
2 parents b6c7635 + 83a3294 commit 4149cbd
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/spell_checking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,11 @@ jobs:
codespell:
name: Check spelling of all files with codespell
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
- uses: codespell-project/actions-codespell@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install codespell
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Check spelling with codespell
run: codespell --ignore-words=codespell.txt || exit 1
ignore_words_file: codespell.txt
misspell:
name: Check spelling of all files in commit with misspell
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4149cbd

Please sign in to comment.