Skip to content

Commit 075e5a9

Browse files
committed
chore(ci): run tests with rust nightly
1 parent 1299078 commit 075e5a9

2 files changed

Lines changed: 35 additions & 25 deletions

File tree

.github/workflows/main.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,16 @@ jobs:
2222
- name: Run sccache-cache
2323
uses: mozilla-actions/sccache-action@v0.0.3
2424
- name: Install Rust
25-
run: rustup update stable --no-self-update && rustup default stable && rustup target add wasm32-wasi && rustup target add wasm32-unknown-unknown
25+
run: |
26+
rustup update nightly --no-self-update
27+
rustup default nightly
28+
rustup target add wasm32-wasi
29+
rustup target add wasm32-unknown-unknown
30+
rustup component add clippy
31+
rustup component add rustfmt
2632
shell: bash
33+
- name: Install Wasmtime
34+
run: cargo install wasmtime-cli --locked --features="component-model" --git https://github.com/bytecodealliance/wasmtime --rev 848764a9412a1bd66de4087f5ba0670d61384af1
2735
- name: Run all tests
2836
run: cargo test --all
2937

example/Cargo.lock

Lines changed: 26 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)