From dcd17e8c1b40c9f37cfe015a8e056d094adc3409 Mon Sep 17 00:00:00 2001 From: Paolo Melchiorre Date: Thu, 31 Oct 2024 11:54:54 +0100 Subject: [PATCH] Update docs.yml Use long form options and remove the quiet option, and update outdated OS verison --- .github/workflows/docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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