assert2 0.4.0

assert!(...) and check!(...) macros inspired by Catch2, now with diffs!
Documentation
name: CI
on:
  push: { branches: "main" }
  pull_request: { branches: "*" }

jobs:
  build_and_test:
    name:  ${{ matrix.os }}, rust-${{ matrix.rust }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]
        rust: [stable, nightly, 1.71.0]
    runs-on: ${{ matrix.os }}
    steps:
      - name: Checkout code
        uses: actions/checkout@master
      - name: Install Rust ${{ matrix.rust }}
        run: |
          rustup install ${{ matrix.rust }} --profile minimal
          rustup default ${{ matrix.rust }}
      - name: cargo build
        run: cargo build --release --all-features --all-targets --color=always
      - name: cargo test
        run: cargo test --release --all-features --all-targets --color=always
  check:
    name:  check-only ${{ matrix.target }}, rust-${{ matrix.rust }}
    strategy:
      matrix:
        target: [wasm32-unknown-unknown]
        rust: [stable, nightly, 1.71.0]
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@master
      - name: Install Rust ${{ matrix.rust }} target ${{ matrix.target }}
        run: |
          rustup install ${{ matrix.rust }} --profile minimal
          rustup default ${{ matrix.rust }}
          rustup target add ${{ matrix.target }}
      - name: cargo check
        run: cargo check --release --all-features --all-targets --color=always --target ${{ matrix.target }}