tinymt 1.0.9

Rust implementation of TinyMT 64/32 - a lightweight variant of Mersenne Twister PRNG
Documentation
name: "Test"
on: [push]
jobs:
  test:
    name: "tests"
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/cache@v2
        with:
          path: |
            ~/.cargo/registry
            ~/.cargo/git
            target
          key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
      - uses: actions-rs/toolchain@v1
        with:
          toolchain: stable
          target: wasm32-wasi
          components: rustfmt, clippy
      - uses: actions-rs/cargo@v1
        with:
          command: fmt
          args: --all -- --check
      - uses: actions-rs/cargo@v1
        with:
          command: clippy
          args: -- -D warnings

      # Test on native target
      - uses: actions-rs/cargo@v1
        with:
          command: test
          args: --release --all-features

      # Test on WASM target
      - uses: wasmerio/setup-wasmer@v2
      - uses: actions-rs/cargo@v1
        with:
          command: test
          args: --release --all-features --target wasm32-wasi