pre-commit.yml 470 B

123456789101112131415161718192021222324
  1. name: pre-commit
  2. on:
  3. pull_request:
  4. push:
  5. concurrency:
  6. group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
  7. cancel-in-progress: true
  8. jobs:
  9. pre-commit:
  10. runs-on: ubuntu-latest
  11. steps:
  12. - name: Setup Python
  13. uses: actions/setup-python@v4
  14. with:
  15. python-version: '3.x'
  16. - name: Checkout TinyUSB
  17. uses: actions/checkout@v3
  18. - name: Check Code Spelling
  19. uses: codespell-project/actions-codespell@master