name: CI on: push: branches: [main] pull_request: branches: [main] env: CARGO_TERM_COLOR: always CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse RUST_BACKTRACE: full jobs: build-and-test: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] steps: - uses: actions/checkout@v3 - name: Build run: cargo build --verbose - name: Test run: cargo test --verbose -- --nocapture