Simplify standalone test by calling windows-bindgen
directly (#3086)
#131
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-version | |
on: | |
pull_request: | |
push: | |
paths-ignore: | |
- '.github/ISSUE_TEMPLATE/**' | |
branches: | |
- master | |
env: | |
RUSTFLAGS: -Dwarnings | |
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-version --all-features |