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:
146146 steps :
147147 - name : Checkout
148148 uses : actions/checkout@v4
149+ - name : Install uv
150+ if : matrix.build == 'zigbuild'
151+ uses : astral-sh/setup-uv@v6
149152 - name : Install cargo-zigbuild
150153 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
156155 - name : Setup Rust toolchain
157156 uses : dtolnay/rust-toolchain@stable
158157 with :
@@ -213,13 +212,12 @@ jobs:
213212 sudo apt-get -y install ${{ matrix.packages }}
214213 - name : Checkout
215214 uses : actions/checkout@v4
215+ - name : Install uv
216+ if : matrix.build == 'zigbuild'
217+ uses : astral-sh/setup-uv@v6
216218 - name : Install cargo-zigbuild
217219 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
223221 - name : Setup Rust toolchain
224222 uses : dtolnay/rust-toolchain@stable
225223 with :
You can’t perform that action at this time.
0 commit comments