LLMs-from-scratch/.github/workflows/check-spelling-errors.yml
Sebastian Raschka 11801be0e9 Simplify the setup in CI (#542)
* Simplify the setup in CI

* windows --no-binary option

* windows uv workflow

* add path

* some fixes

* some fixes

* some fixes

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* more windows issues

* more windows issues

* more windows issues

* more windows issues

* more windows issues

* more windows issues

* more windows issues

* more windows issues

* revert
2025-02-20 11:56:52 -06:00

33 lines
637 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: |
curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync --dev --python=3.10
uv add codespell
- name: Run codespell
run: |
source .venv/bin/activate
codespell -L "ocassion,occassion,ot,te,tje" **/*.{txt,md,py,ipynb}