From e57ce08693bbdaa0ea20421e4c3adba36cac62ac Mon Sep 17 00:00:00 2001 From: "David A. Ramos" Date: Sun, 15 Jan 2023 18:57:52 -0800 Subject: [PATCH] Check WASM build in CI Resolves #78 --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2715344c..7fc0efd5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -50,6 +50,7 @@ jobs: toolchain: ${{ matrix.rust_os.rust }} override: true components: clippy, rustfmt + target: wasm32-unknown-unknown # Newer dependency versions may not support rustc 1.57, so we use a Cargo.lock file for those # builds. @@ -81,6 +82,9 @@ jobs: # https://github.com/chronotope/chrono/issues/499#issuecomment-946388161 cargo audit --ignore RUSTSEC-2020-0159 + - name: Check WASM build + run: cargo check --target wasm32-unknown-unknown + coverage: runs-on: ubuntu-latest container: