Skip to content

Commit a2f8a7b

Browse files
committed
Fixed UV python download failures.
1 parent 72d2882 commit a2f8a7b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,23 @@ jobs:
4343
pydantic_ver: ["<2", ">=2.5,<3"]
4444
os: [ubuntu-latest, windows-latest, macos-latest]
4545
runs-on: "${{ matrix.os }}"
46+
env:
47+
UV_SYSTEM_PYTHON: 1
4648
steps:
4749
- uses: actions/checkout@v5
4850
with:
4951
persist-credentials: false
52+
- name: Setup python
53+
uses: actions/setup-python@v6
54+
with:
55+
python-version: '${{ matrix.py_version }}'
5056
- id: setup-uv
57+
name: Setup UV
5158
uses: astral-sh/setup-uv@v7
5259
with:
5360
enable-cache: true
5461
cache-suffix: ${{ matrix.py_version }}
5562
version: "latest"
56-
python-version: ${{ matrix.py_version }}
5763
- name: Install deps
5864
run: uv sync --all-extras
5965
- name: Setup pydantic version

0 commit comments

Comments
 (0)