@@ -133,6 +133,7 @@ jobs:
133
133
- name : setup dev environment
134
134
uses : ilammy/msvc-dev-cmd@v1
135
135
if : startsWith(matrix.build, 'windows-clang')
136
+ - run : cargo update
136
137
- uses : Swatinem/rust-cache@v2
137
138
- run : cargo test ${{ matrix.no_run }} --workspace --target ${{ matrix.target }}
138
139
- run : cargo test ${{ matrix.no_run }} --workspace --target ${{ matrix.target }} --release
@@ -170,6 +171,7 @@ jobs:
170
171
rustup component add rust-src --toolchain ${{ matrix.rust }}
171
172
rustup default ${{ matrix.rust }}
172
173
shell : bash
174
+ - run : cargo update
173
175
- uses : Swatinem/rust-cache@v2
174
176
- run : cargo test -Z build-std=std ${{ matrix.no_run }} --workspace --target ${{ matrix.target }}
175
177
- run : cargo test -Z build-std=std ${{ matrix.no_run }} --workspace --target ${{ matrix.target }} --release
@@ -187,6 +189,7 @@ jobs:
187
189
run : |
188
190
rustup target add ${{ matrix.target }}
189
191
shell : bash
192
+ - run : cargo update
190
193
- uses : Swatinem/rust-cache@v2
191
194
- run : cargo test --no-run --target ${{ matrix.target }}
192
195
- run : cargo test --no-run --target ${{ matrix.target }} --release
@@ -227,6 +230,7 @@ jobs:
227
230
echo "WASI_SDK_PATH=$WASI_SDK_PATH" >> "$GITHUB_ENV"
228
231
echo "CC=$CC" >> "$GITHUB_ENV"
229
232
233
+ - run : cargo update
230
234
- uses : Swatinem/rust-cache@v2
231
235
with :
232
236
env-vars : " WASI_TOOLCHAIN_VERSION"
@@ -248,6 +252,7 @@ jobs:
248
252
sudo dpkg -i cuda-keyring_1.0-1_all.deb
249
253
sudo apt-get update
250
254
sudo apt-get -y install cuda-minimal-build-11-8
255
+ - run : cargo update
251
256
- uses : Swatinem/rust-cache@v2
252
257
- name : Test 'cudart' feature
253
258
shell : bash
0 commit comments