Skip to content

Commit 117c771

Browse files
committed
Perform some CI/dependency maintenance
* Update dependencies along their major version track * Remove 1.90.0 pinning in CI as the upstream Rust issue is fixed * Actually test MSRV in CI, and accurately bump it to 1.88 since the previously listed 1.87 did not work. * Downgrade the MSRV of the `wit-bindgen` crate to being more conservative, at this time 1.85 (same as wasm-tools with N-10).
1 parent 2f767a5 commit 117c771

File tree

9 files changed

+269
-318
lines changed

9 files changed

+269
-318
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,8 @@ jobs:
8989
- uses: actions/checkout@v4
9090
with:
9191
submodules: true
92-
# FIXME(rust-lang/rust#148347) current rust (1.91) is broken
9392
- name: Install Rust
94-
run: rustup update 1.90.0 --no-self-update && rustup default 1.90.0
93+
run: rustup update stable --no-self-update && rustup default stable
9594
- run: rustup target add wasm32-wasip1 wasm32-wasip2
9695

9796
- run: rustup target add wasm32-unknown-unknown
@@ -244,6 +243,18 @@ jobs:
244243
- name: Format source code
245244
run: cargo fmt -- --check
246245

246+
msrv:
247+
name: Verify MSRV
248+
runs-on: ubuntu-latest
249+
steps:
250+
- uses: actions/checkout@v4
251+
# Verify MSRV for the whole workspace
252+
- run: rustup update 1.88.0 && rustup default 1.88.0
253+
- run: cargo check
254+
# Verify the tighter MSRV of the `wit-bindgen` crate.
255+
- run: rustup update 1.85.0 && rustup default 1.85.0
256+
- run: cargo check -p wit-bindgen --all-features
257+
247258
verify-publish:
248259
if: github.repository_owner == 'bytecodealliance'
249260
runs-on: ubuntu-latest
@@ -269,6 +280,7 @@ jobs:
269280
- build
270281
- verify-publish
271282
- check
283+
- msrv
272284
# - async
273285
if: always()
274286

0 commit comments

Comments
 (0)