Upgraded to Python 3.12, Ubuntu 24.04, and enabled fail_on_warning for docs builds.

This commit is contained in:
David Smith
2024-11-27 18:20:49 +00:00
committed by GitHub
parent e9ed5da3cb
commit 73d532d9a9
2 changed files with 4 additions and 4 deletions

View File

@@ -21,8 +21,7 @@ permissions:
jobs: jobs:
docs: docs:
# OS must be the same as on djangoproject.com. runs-on: ubuntu-24.04
runs-on: ubuntu-20.04
name: docs name: docs
steps: steps:
- name: Checkout - name: Checkout

View File

@@ -4,12 +4,13 @@
version: 2 version: 2
build: build:
os: ubuntu-20.04 os: ubuntu-24.04
tools: tools:
python: "3.8" python: "3.12"
sphinx: sphinx:
configuration: docs/conf.py configuration: docs/conf.py
fail_on_warning: true
python: python:
install: install: