From d5a692008a52edaa366828e3d992843a8eab6105 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Sat, 3 Apr 2021 11:50:11 -0500 Subject: [PATCH] Add action to ensure that web example compiles. --- .github/workflows/test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 50d9534..65df44c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -82,3 +82,24 @@ jobs: with: command: apk args: build + + check_web_example: + name: Check Web Example + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: Swatinem/rust-cache@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + components: rustfmt, clippy + override: true + - uses: actions-rs/install@v0.1 + with: + crate: cargo-make + - run: rustup target add wasm32-unknown-unknown + - uses: actions-rs/cargo@v1 + with: + command: make + args: