Test error handling for windows-bindgen
crate (#3272)
#416
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: windows-result | |
on: | |
pull_request: | |
push: | |
paths-ignore: | |
- '.github/ISSUE_TEMPLATE/**' | |
branches: | |
- master | |
jobs: | |
check: | |
strategy: | |
matrix: | |
rust: [1.60.0, stable, nightly] | |
runs-on: | |
- windows-latest | |
- ubuntu-latest | |
runs-on: ${{ matrix.runs-on }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Prepare | |
run: rustup update --no-self-update ${{ matrix.rust }} && rustup default ${{ matrix.rust }} | |
- name: Check | |
run: cargo check -p windows-result --all-features | |
- name: Check Default Features | |
run: cargo check -p windows-result |