Update changelog with a little more info on bug fix #245
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: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- name: Print rust version | |
run: rustc --version | |
- name: Run Tests | |
run: cargo test | |
- name: Run Tests with serde feature | |
run: cargo test --features serde | |
- name: Install wasm target | |
run: rustup target add wasm32-unknown-unknown | |
- name: Build for wasm | |
run: cargo build --target wasm32-unknown-unknown | |
- name: Build for wasm with serde feature | |
run: cargo build --target wasm32-unknown-unknown --features serde |