add codespell config and ci run

This commit is contained in:
hathach
2022-12-04 20:29:24 +07:00
parent d6d2499ad6
commit e3df3ac5ce
4 changed files with 37 additions and 0 deletions

24
.github/workflows/pre-commit.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: pre-commit
on:
pull_request:
push:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Checkout TinyUSB
uses: actions/checkout@v3
- name: Check Code Spelling
uses: codespell-project/actions-codespell@master