mirror of
https://github.com/django/django.git
synced 2026-02-08 18:39:28 +08:00
Fixed spell checking in docs GitHub Actions workflow.
The spelling check job was passing even with spelling errors because the system spell checker (`aspell`) was not installed on the GitHub Actions runner. While `sphinxcontrib.spelling` and `PyEnchant` were installed via pip, they require a system-level spell checker backend to function.
This commit is contained in:
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@@ -35,6 +35,8 @@ jobs:
|
||||
python-version: '3.14'
|
||||
cache: 'pip'
|
||||
cache-dependency-path: 'docs/requirements.txt'
|
||||
- name: Install system spell checker
|
||||
run: sudo apt update && sudo apt install -y aspell aspell-en
|
||||
- run: python -m pip install -r docs/requirements.txt
|
||||
- name: Build docs
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user