mirror of
https://github.com/django/django.git
synced 2025-01-26 10:09:42 +00:00
[5.1.x] Upgraded to Python 3.12, Ubuntu 24.04, and enabled fail_on_warning for docs builds.
Backport of 73d532d9a92d4d472564f3251499a428d1da9835 from main.
This commit is contained in:
parent
5f82a5e4c7
commit
bed70e2c00
3
.github/workflows/docs.yml
vendored
3
.github/workflows/docs.yml
vendored
@ -21,8 +21,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
|
||||
|
@ -4,12 +4,13 @@
|
||||
version: 2
|
||||
|
||||
build:
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-24.04
|
||||
tools:
|
||||
python: "3.8"
|
||||
python: "3.12"
|
||||
|
||||
sphinx:
|
||||
configuration: docs/conf.py
|
||||
fail_on_warning: true
|
||||
|
||||
python:
|
||||
install:
|
||||
|
Loading…
x
Reference in New Issue
Block a user