msuc 1.0.0

A client library for the Microsoft Update Catalog
Documentation
name: Rust

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

env:
  CARGO_TERM_COLOR: always

jobs:
  test:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macOS-latest]
        rust: [stable, nightly]

    steps:
      - uses: hecrj/setup-rust-action@v2
        with:
          rust-version: ${{ matrix.rust }}
      - uses: actions/checkout@v3
      - name: Build
        run: cargo build --verbose
      - name: Clippy
        run: cargo clippy --verbose -- -D warnings
      - name: Run Async Tests
        run: cargo test --verbose
      - name: Run Blocking Tests
        run: cargo test --verbose --features blocking