Skip to content

fix: badge update from https://github.com/badges/shields/issues/8671 #58

fix: badge update from https://github.com/badges/shields/issues/8671

fix: badge update from https://github.com/badges/shields/issues/8671 #58

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test:
name: Rust ${{matrix.rust}}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust: [nightly, stable, 1.56.1]
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.rust}}
target: wasm32-unknown-unknown
- run: cargo test
- run: cargo check
- run: cargo check --target wasm32-unknown-unknown
windows:
name: Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- run: cargo check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@clippy
- run: cargo clippy --tests -- -Dclippy::all
examples:
name: Build examples
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@nightly
with:
target: wasm32-unknown-unknown
- run: cd examples && ./build_all.sh
miri:
name: Miri
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@nightly
with:
components: miri
- run: cargo miri test