replace winapi with windows-sys #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
push: | |
branches: | |
- "*" | |
# not on tags | |
pull_request: | |
env: | |
RUSTFLAGS: "-D warnings" | |
RUST_BACKTRACE: "1" | |
jobs: | |
cargo_tests: | |
name: ${{ matrix.os }} ${{ matrix.rust_channel }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest", "macOS-latest", "windows-latest"] | |
rust_channel: [stable, beta, nightly] | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust_channel }} | |
profile: minimal | |
override: true | |
- run: cargo test |