Skip to content

Commit 8aa0f61

Browse files
authored
chore(ci): use astral-sh/setup-uv & uv pip install --group (#596)
* chore(ci): use `astral-sh/setup-uv` & `uv pip install --group` * fix more warnings
1 parent fa2d774 commit 8aa0f61

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,10 @@ jobs:
115115
with:
116116
fetch-depth: 0 # required for versioneer to find tags
117117

118-
- uses: yezz123/setup-uv@v4
118+
- uses: astral-sh/setup-uv@v5
119+
if: (!matrix.use_qemu) || fromJSON(env.USE_QEMU)
120+
with:
121+
enable-cache: false
119122

120123
- name: Set up QEMU
121124
uses: docker/[email protected]
@@ -193,11 +196,13 @@ jobs:
193196
steps:
194197
- uses: actions/checkout@v4
195198
- uses: astral-sh/setup-uv@v5
199+
with:
200+
enable-cache: false
196201

197202
- name: Setup environment
198203
run: |
199204
uv venv --python ${{ matrix.python }}
200-
uv pip install pytest pytest-cov
205+
uv pip install --group test
201206
202207
- name: Install dependencies
203208
run: |

0 commit comments

Comments
 (0)