Skip to content

Commit a95aed4

Browse files
authored
CI: use python 3.10 (#5195)
1 parent a0e04a7 commit a95aed4

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/main.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
persist-credentials: false
2525
- uses: actions/setup-python@v2
2626
with:
27-
python-version: '3.9'
27+
python-version: '3.10'
2828
- run: pip install tox
2929
- run: tox -e flake8
3030
filename-matching:
@@ -35,7 +35,7 @@ jobs:
3535
persist-credentials: false
3636
- uses: actions/setup-python@v2
3737
with:
38-
python-version: '3.9'
38+
python-version: '3.10'
3939
- run: pip install tox
4040
- run: tox -e filename_matching
4141
mypy:
@@ -46,7 +46,7 @@ jobs:
4646
persist-credentials: false
4747
- uses: actions/setup-python@v2
4848
with:
49-
python-version: '3.9'
49+
python-version: '3.10'
5050
- run: pip install tox
5151
- run: tox -e mypy
5252
individual-coverage:
@@ -58,7 +58,7 @@ jobs:
5858
fetch-depth: 0
5959
- uses: actions/setup-python@v2
6060
with:
61-
python-version: '3.9'
61+
python-version: '3.9' # there's a weird bug on 3.10 where some lines are not counted as covered.
6262
- run: pip install tox
6363
- run: tox -e individual_coverage
6464
test:
@@ -67,11 +67,11 @@ jobs:
6767
matrix:
6868
include:
6969
- os: ubuntu-latest
70-
py: '3.10.0-rc - 3.10'
70+
py: "3.10"
7171
- os: windows-latest
72-
py: 3.9
72+
py: "3.10"
7373
- os: macos-latest
74-
py: 3.9
74+
py: "3.10"
7575
- os: ubuntu-latest
7676
py: 3.9
7777
- os: ubuntu-latest
@@ -118,7 +118,7 @@ jobs:
118118
fetch-depth: 0
119119
- uses: actions/setup-python@v2
120120
with:
121-
python-version: '3.9'
121+
python-version: '3.10'
122122
- if: matrix.platform == 'windows'
123123
uses: actions/cache@v2
124124
with:
@@ -169,7 +169,7 @@ jobs:
169169
persist-credentials: false
170170
- uses: actions/setup-python@v2
171171
with:
172-
python-version: '3.9'
172+
python-version: '3.10'
173173
- run: |
174174
wget -q https://github.com/gohugoio/hugo/releases/download/v0.92.1/hugo_extended_0.92.1_Linux-64bit.deb
175175
echo "a9440adfd3ecce40089def287dee4e42ffae252ba08c77d1ac575b880a079ce6 hugo_extended_0.92.1_Linux-64bit.deb" | sha256sum -c
@@ -205,7 +205,7 @@ jobs:
205205
persist-credentials: false
206206
- uses: actions/setup-python@v2
207207
with:
208-
python-version: '3.9'
208+
python-version: '3.10'
209209
- uses: actions/download-artifact@v2
210210
with:
211211
name: binaries.linux
@@ -239,7 +239,7 @@ jobs:
239239
persist-credentials: false
240240
- uses: actions/setup-python@v2
241241
with:
242-
python-version: '3.9'
242+
python-version: '3.10'
243243
- run: sudo apt-get update
244244
- run: sudo apt-get install -y twine awscli
245245
- uses: actions/download-artifact@v2

0 commit comments

Comments
 (0)