diff options
Diffstat (limited to '.github/workflows/spell-check.yml')
-rw-r--r-- | .github/workflows/spell-check.yml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/.github/workflows/spell-check.yml b/.github/workflows/spell-check.yml index 7aaa9ffa8..ac9cf2532 100644 --- a/.github/workflows/spell-check.yml +++ b/.github/workflows/spell-check.yml @@ -18,8 +18,15 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 + - name: pip cache + uses: actions/cache@v2 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} + restore-keys: ${{ runner.os }}-pip- + - name: Install prerequisites - run: sudo pip install codespell==2.0.0 + run: sudo pip install -r ./.codespell/requirements.txt - name: Spell check - run: codespell --config=./.github/.codespellrc + run: codespell --config=./.codespell/.codespellrc |