Skip to content

Commit e2289e4

Browse files
authored
Test WASM too (#39)
1 parent f80c7de commit e2289e4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/pr.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
# Install Rust with clippy/rustfmt
1818
- uses: actions-rust-lang/setup-rust-toolchain@v1
1919
with:
20+
target: wasm32-unknown-unknown
2021
components: clippy, rustfmt
2122

2223
# Set RUSTFLAGS
@@ -27,5 +28,8 @@ jobs:
2728
- run: cargo clippy --no-deps
2829
- run: cargo fmt --check
2930

31+
# Same but for WASM
32+
- run: cargo check -p web-transport -p web-transport-wasm --verbose --target wasm32-unknown-unknown
33+
3034
# Check for unused dependencies
3135
- uses: bnjbvr/cargo-machete@main

0 commit comments

Comments
 (0)