reusable-misspell-check.yml 605 B

12345678910111213141516171819202122232425
  1. name: Reusable - Misspell check
  2. on:
  3. workflow_call:
  4. permissions:
  5. contents: read
  6. jobs:
  7. misspell-check:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
  11. - name: Install misspell
  12. run: |
  13. curl -L -o install-misspell.sh \
  14. https://raw.githubusercontent.com/client9/misspell/master/install-misspell.sh
  15. sh ./install-misspell.sh
  16. - name: Run misspell
  17. run: |
  18. find . -type f \
  19. -not -path './licenses/*' \
  20. | xargs bin/misspell -error