Skip to content

Commit e980ced

Browse files
authored
Upgrade Python version in CI (#1339)
1 parent 12ec3ca commit e980ced

File tree

5 files changed

+13
-12
lines changed

5 files changed

+13
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v1
14-
- name: Set up Python 3.8
15-
uses: actions/setup-python@v1
13+
- uses: actions/checkout@v3
14+
- name: Set up Python 3.10
15+
uses: actions/setup-python@v4
1616
with:
17-
python-version: 3.8
17+
python-version: "3.10"
1818
- name: Build wheel and source tarball
1919
run: |
2020
pip install wheel

.github/workflows/lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v1
11-
- name: Set up Python 3.8
12-
uses: actions/setup-python@v1
10+
- uses: actions/checkout@v3
11+
- name: Set up Python 3.10
12+
uses: actions/setup-python@v4
1313
with:
14-
python-version: 3.8
14+
python-version: "3.10"
1515
- name: Install dependencies
1616
run: |
1717
python -m pip install --upgrade pip

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
- django: "4.0"
3333
python-version: "3.10"
3434
steps:
35-
- uses: actions/checkout@v1
35+
- uses: actions/checkout@v3
3636
- name: Set up Python ${{ matrix.python-version }}
37-
uses: actions/setup-python@v1
37+
uses: actions/setup-python@v4
3838
with:
3939
python-version: ${{ matrix.python-version }}
4040
- name: Install dependencies

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
default_language_version:
2-
python: python3.8
2+
python: python3.10
33
repos:
44
- repo: https://github.com/PyCQA/flake8
55
rev: 5.0.4

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@ deps =
4040
commands = {posargs:py.test --cov=graphene_django graphene_django examples}
4141

4242
[testenv:black]
43-
basepython = python3.8
43+
basepython = python3.10
4444
deps = -e.[dev]
4545
commands =
4646
black --exclude "/migrations/" graphene_django examples setup.py --check
4747

4848
[testenv:pre-commit]
49+
basepython = python3.10
4950
skip_install = true
5051
deps = pre-commit
5152
commands =

0 commit comments

Comments
 (0)