name: build on: [push, pull_request] jobs: build: runs-on: ${{matrix.os}} strategy: fail-fast: true matrix: os: [macos-latest, ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v2 - name: Check formatting run: | rustup component add rustfmt rustup component add clippy cargo fmt -- --check cargo clippy --all-features --verbose -- -Dwarnings - name: Build run: cargo build --verbose - name: Run tests run: cargo test --all-features