Skip to content

Commit 953f333

Browse files
committed
ci: use Python 3.12 for type tests
1 parent bcc1d59 commit 953f333

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/typing.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2
1212

13-
- name: Set up latest Python 3
13+
- name: Set up Python 3.12
1414
uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # v2
1515
with:
16-
python-version: 3
16+
python-version: 3.12
1717

1818
- name: Install dependencies
1919
run: |
2020
python -m pip install --upgrade pip
2121
pip install mypy==0.921 types-protobuf==3.19.21
22+
pip install typed-ast==1.5.5
2223
2324
- name: Execute run_stubtest.py
2425
run: |
@@ -31,10 +32,10 @@ jobs:
3132
steps:
3233
- uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2
3334

34-
- name: Set up latest Python 3
35+
- name: Set up Python 3.12
3536
uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # v2
3637
with:
37-
python-version: 3
38+
python-version: 3.12
3839

3940
- name: Install dependencies
4041
run: |

0 commit comments

Comments
 (0)