File tree Expand file tree Collapse file tree 3 files changed +21
-7
lines changed Expand file tree Collapse file tree 3 files changed +21
-7
lines changed Original file line number Diff line number Diff line change 39
39
- uses : actions/setup-python@v5
40
40
with :
41
41
python-version : " 3.13"
42
- - run : curl -LsSf https://astral.sh/uv/install.sh | sh
42
+ - uses : astral-sh/setup-uv@v6
43
+ with :
44
+ version-file : " requirements-tests.txt"
43
45
- run : uv pip install -r requirements-tests.txt --system
44
46
- run : python ./tests/typecheck_typeshed.py --platform=${{ matrix.platform }}
45
47
pyright :
54
56
- uses : actions/setup-python@v5
55
57
with :
56
58
python-version : " 3.13"
57
- - run : curl -LsSf https://astral.sh/uv/install.sh | sh
59
+ - uses : astral-sh/setup-uv@v6
60
+ with :
61
+ version-file : " requirements-tests.txt"
58
62
- run : uv pip install -r requirements-tests.txt --system
59
63
- name : Run pyright on typeshed
60
64
uses : jakebailey/pyright-action@v2
71
75
- uses : actions/setup-python@v5
72
76
with :
73
77
python-version : " 3.13"
74
- - run : curl -LsSf https://astral.sh/uv/install.sh | sh
78
+ - uses : astral-sh/setup-uv@v6
79
+ with :
80
+ version-file : " requirements-tests.txt"
75
81
- name : Git config
76
82
run : |
77
83
git config --global user.name stubsabot
Original file line number Diff line number Diff line change 27
27
- uses : actions/setup-python@v5
28
28
with :
29
29
python-version : " 3.13"
30
- - run : curl -LsSf https://astral.sh/uv/install.sh | sh
30
+ - uses : astral-sh/setup-uv@v6
31
+ with :
32
+ version-file : " requirements-tests.txt"
31
33
- name : git config
32
34
run : |
33
35
git config --global user.name stubsabot
Original file line number Diff line number Diff line change 30
30
- uses : actions/setup-python@v5
31
31
with :
32
32
python-version : " 3.13"
33
- - run : curl -LsSf https://astral.sh/uv/install.sh | sh
33
+ - uses : astral-sh/setup-uv@v6
34
+ with :
35
+ version-file : " requirements-tests.txt"
34
36
- run : uv pip install -r requirements-tests.txt --system
35
37
- run : python ./tests/check_typeshed_structure.py
36
38
48
50
- uses : actions/setup-python@v5
49
51
with :
50
52
python-version : ${{ matrix.python-version }}
51
- - run : curl -LsSf https://astral.sh/uv/install.sh | sh
53
+ - uses : astral-sh/setup-uv@v6
54
+ with :
55
+ version-file : " requirements-tests.txt"
52
56
- run : uv pip install -r requirements-tests.txt --system
53
57
- name : Install required APT packages
54
58
run : |
81
85
# Use py311 for now, as py312 seems to be around 30s slower in CI
82
86
# TODO: figure out why that is (#11590)
83
87
python-version : " 3.11"
84
- - run : curl -LsSf https://astral.sh/uv/install.sh | sh
88
+ - uses : astral-sh/setup-uv@v6
89
+ with :
90
+ version-file : " requirements-tests.txt"
85
91
- run : uv pip install -r requirements-tests.txt --system
86
92
- run : python ./tests/regr_test.py --all --verbosity QUIET
87
93
You can’t perform that action at this time.
0 commit comments