diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9b88b9be93..682609f18a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,7 +22,7 @@ permissions: jobs: docs: # OS must be the same as on djangoproject.com. - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 name: docs steps: - name: Checkout @@ -37,7 +37,7 @@ jobs: - name: Build docs run: | cd docs - sphinx-build -b spelling -n -q -W --keep-going -d _build/doctrees -D language=en_US -j auto . _build/spelling + sphinx-build --builder spelling --nitpicky --fail-on-warning --keep-going --doctree-dir _build/doctrees --define language=en_US --jobs auto . _build/spelling blacken-docs: runs-on: ubuntu-latest