2
0

spell-check.yml 617 B

12345678910111213141516171819202122232425
  1. # A CI action that using codespell to check spell.
  2. # .github/.codespellrc is a config file.
  3. # .github/wordlist.txt is a list of words that will ignore word checks.
  4. # More details please check the following link:
  5. # https://github.com/codespell-project/codespell
  6. name: Spellcheck
  7. on:
  8. push:
  9. pull_request:
  10. jobs:
  11. build:
  12. name: Spellcheck
  13. runs-on: ubuntu-latest
  14. steps:
  15. - name: Checkout repository
  16. uses: actions/checkout@v2
  17. - name: Install prerequisites
  18. run: sudo pip install codespell==2.0.0
  19. - name: Spell check
  20. run: codespell --config=./.github/.codespellrc