Bump serde_json from 1.0.116 to 1.0.119 in /example #186
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.76.0 | |
target: wasm32-unknown-unknown | |
override: true | |
- name: Install wasm-pack | |
run: | | |
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
export PATH="$HOME/.cargo/bin:$PATH" | |
wasm-pack --version | |
- name: Install Firefox | |
uses: browser-actions/setup-firefox@v1 | |
- name: Build | |
run: | | |
cd adapter | |
cargo build --target wasm32-unknown-unknown | |
- name: Test | |
run: | | |
cd adapter | |
wasm-pack test --firefox --headless |