winprint 0.3.1

A crate for printing to a Windows printer device using Windows API
Documentation
name: Test

on:
  push:
    branches:
      - "**"
  pull_request:
    branches:
      - "**"

env:
  CARGO_TERM_COLOR: always

jobs:
  test:
    runs-on: windows-latest
    if: github.event_name != 'pull_request' || github.head_ref.contains('release-plz-') == false
    steps:
    - uses: actions/checkout@v7
    - name: Setup Rust toolchain
      uses: moonrepo/setup-rust@v1
      with:
        channel: stable
        bins: cargo-hack,cargo-nextest
      env:
        GITHUB_TOKEN: ${{ github.token }}
    - name: Test
      run: cargo hack nextest run --all-targets --each-feature --skip default,test-utils --no-fail-fast
  dummy:
    runs-on: ubuntu-slim
    if: github.event_name == 'pull_request' && github.head_ref.contains('release-plz-')
    steps:
    - name: dummy
      run: echo "This dummy job exists to prevent builds from failing when there are no tasks to run."