File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -146,13 +146,12 @@ jobs:
146
146
steps :
147
147
- name : Checkout
148
148
uses : actions/checkout@v4
149
+ - name : Install uv
150
+ if : matrix.build == 'zigbuild'
151
+ uses : astral-sh/setup-uv@v6
149
152
- name : Install cargo-zigbuild
150
153
if : matrix.build == 'zigbuild'
151
- run : |
152
- python3 -m venv .venv
153
- . .venv/bin/activate
154
- echo PATH=$PATH >> $GITHUB_ENV
155
- pip install ziglang==0.13.0.post1 cargo-zigbuild==0.19.8
154
+ run : uv tool install cargo-zigbuild==0.20.1 --with ziglang==0.15.1
156
155
- name : Setup Rust toolchain
157
156
uses : dtolnay/rust-toolchain@stable
158
157
with :
@@ -213,13 +212,12 @@ jobs:
213
212
sudo apt-get -y install ${{ matrix.packages }}
214
213
- name : Checkout
215
214
uses : actions/checkout@v4
215
+ - name : Install uv
216
+ if : matrix.build == 'zigbuild'
217
+ uses : astral-sh/setup-uv@v6
216
218
- name : Install cargo-zigbuild
217
219
if : matrix.build == 'zigbuild'
218
- run : |
219
- python3 -m venv .venv
220
- . .venv/bin/activate
221
- echo PATH=$PATH >> $GITHUB_ENV
222
- pip install ziglang==0.13.0.post1 cargo-zigbuild==0.19.8
220
+ run : uv tool install cargo-zigbuild==0.20.1 --with ziglang==0.15.1
223
221
- name : Setup Rust toolchain
224
222
uses : dtolnay/rust-toolchain@stable
225
223
with :
You can’t perform that action at this time.
0 commit comments