diff --git a/.github/workflows/spell_checking.yml b/.github/workflows/spell_checking.yml index 59db64be..19be2b6c 100644 --- a/.github/workflows/spell_checking.yml +++ b/.github/workflows/spell_checking.yml @@ -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