mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
* Don't explicitly install Python. Use uv sync instead of uv add. * updates * update * updated 3.11 workflows --------- Co-authored-by: rasbt <mail@sebastianraschka.com>
34 lines
657 B
YAML
34 lines
657 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.11'
|
|
|
|
- name: Install codespell
|
|
run: |
|
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
uv python install 3.11
|
|
uv add . --dev
|
|
uv add codespell
|
|
|
|
- name: Run codespell
|
|
run: |
|
|
source .venv/bin/activate
|
|
codespell -L "ocassion,occassion,ot,te,tje" **/*.{txt,md,py,ipynb}
|