mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-09-01 12:27:59 +00:00
31 lines
556 B
YAML
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}
|