mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Used Python 3.10 for docs and linters GitHub actions.
This commit is contained in:
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9
|
||||
python-version: '3.10'
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
||||
4
.github/workflows/linters.yml
vendored
4
.github/workflows/linters.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9
|
||||
python-version: '3.10'
|
||||
- run: python -m pip install flake8
|
||||
- name: flake8
|
||||
uses: liskin/gh-problem-matcher-wrap@v1
|
||||
@@ -36,7 +36,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9
|
||||
python-version: '3.10'
|
||||
- run: python -m pip install isort
|
||||
- name: isort
|
||||
uses: liskin/gh-problem-matcher-wrap@v1
|
||||
|
||||
Reference in New Issue
Block a user