mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
[5.0.x] Refs #34118 -- Used Python 3.12 for GitHub actions.
This commit is contained in:
parent
c3d3af8ea3
commit
83ec18b174
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.11'
|
||||
python-version: '3.12'
|
||||
cache: 'pip'
|
||||
cache-dependency-path: 'docs/requirements.txt'
|
||||
- run: python -m pip install -r docs/requirements.txt
|
||||
@ -48,7 +48,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.11'
|
||||
python-version: '3.12'
|
||||
- run: python -m pip install blacken-docs
|
||||
- name: Build docs
|
||||
run: |
|
||||
|
4
.github/workflows/linters.yml
vendored
4
.github/workflows/linters.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.11'
|
||||
python-version: '3.12'
|
||||
- run: python -m pip install flake8
|
||||
- name: flake8
|
||||
# Pinned to v2.0.0.
|
||||
@ -44,7 +44,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.11'
|
||||
python-version: '3.12'
|
||||
- run: python -m pip install isort
|
||||
- name: isort
|
||||
# Pinned to v2.0.0.
|
||||
|
6
.github/workflows/schedule_tests.yml
vendored
6
.github/workflows/schedule_tests.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
||||
python-version:
|
||||
- '3.10'
|
||||
- '3.11'
|
||||
- '3.12-dev'
|
||||
- '3.12'
|
||||
name: Windows, SQLite, Python ${{ matrix.python-version }}
|
||||
continue-on-error: true
|
||||
steps:
|
||||
@ -60,7 +60,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.11'
|
||||
python-version: '3.12'
|
||||
cache: 'pip'
|
||||
cache-dependency-path: 'tests/requirements/py3.txt'
|
||||
- name: Install and upgrade packaging tools
|
||||
@ -94,7 +94,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.11'
|
||||
python-version: '3.12'
|
||||
cache: 'pip'
|
||||
cache-dependency-path: 'tests/requirements/py3.txt'
|
||||
- name: Install and upgrade packaging tools
|
||||
|
4
.github/workflows/selenium.yml
vendored
4
.github/workflows/selenium.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.11'
|
||||
python-version: '3.12'
|
||||
cache: 'pip'
|
||||
cache-dependency-path: 'tests/requirements/py3.txt'
|
||||
- name: Install and upgrade packaging tools
|
||||
@ -59,7 +59,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.11'
|
||||
python-version: '3.12'
|
||||
cache: 'pip'
|
||||
cache-dependency-path: 'tests/requirements/py3.txt'
|
||||
- name: Install and upgrade packaging tools
|
||||
|
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- '3.11'
|
||||
- '3.12'
|
||||
name: Windows, SQLite, Python ${{ matrix.python-version }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
Loading…
Reference in New Issue
Block a user