Skip to content

Commit bb5a81a

Browse files
authored
[3.14] Run mypy with four worker processes and uv (GH-149726) (#149774)
(cherry picked from commit 6304eb1)
1 parent d693ba3 commit bb5a81a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/mypy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ jobs:
6868
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6969
with:
7070
persist-credentials: false
71-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
71+
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
7272
with:
7373
python-version: "3.13"
74-
cache: pip
75-
cache-dependency-path: Tools/requirements-dev.txt
76-
- run: pip install -r Tools/requirements-dev.txt
74+
activate-environment: true
75+
cache-dependency-glob: Tools/requirements-dev.txt
76+
- run: uv pip install -r Tools/requirements-dev.txt
7777
- run: python3 Misc/mypy/make_symlinks.py --symlink
78-
- run: mypy --config-file ${{ matrix.target }}/mypy.ini
78+
- run: mypy --num-workers 4 --config-file ${{ matrix.target }}/mypy.ini

0 commit comments

Comments
 (0)