Skip to content

Commit cc1d1d0

Browse files
committed
Test wasm with pinned dependencies
So far testing was was done unpinned however that risked randomly breaking builds whenever a dependency changes by accident. There was a note explicitly acknowledging lack of pinning but with no explanation why that was the case. So it might be because the author didn't want to bother and pinning can be implemented.
1 parent b6fd763 commit cc1d1d0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,12 +258,14 @@ jobs:
258258
runs-on: ubuntu-latest
259259
strategy:
260260
fail-fast: false
261-
# Note we do not use the recent lock file for wasm testing.
262261
steps:
263262
- name: "Checkout repo"
264263
uses: actions/checkout@v4
265264
- name: "Select toolchain"
266-
uses: dtolnay/rust-toolchain@stable
265+
uses: dtolnay/[email protected]
266+
- name: "Set dependencies"
267+
# For now we only use msrv lock
268+
run: cp Cargo-msrv.lock Cargo.lock
267269
- name: "Run wasm script"
268270
run: ./contrib/wasm.sh
269271

0 commit comments

Comments
 (0)