LLMs-from-scratch/.github/workflows/check-spelling-errors.yml
Sebastian Raschka 311a3837e4 Gh workflow for spelling errors (#265)
* Gh workflow for spelling errors

* add files to check
2024-07-16 08:17:20 -05:00

31 lines
556 B
YAML

name: Spell Check
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
spellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install codespell
run: |
python -m pip install --upgrade pip
pip install codespell
- name: Run codespell
run: |
codespell -L "ocassion,occassion,ot,te,tje" **/*.{txt,md,py,ipynb}