Add first os-check workflow

This commit is contained in:
Jon Gjengset 2022-09-17 12:39:09 -07:00
parent c74ee968a1
commit 92379c8623

View file

@ -0,0 +1,24 @@
on:
push:
branches: [master]
pull_request:
name: cargo check
jobs:
os-check:
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest]
steps:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: actions/checkout@v2
- name: cargo check
uses: actions-rs/cargo@v1
with:
command: check
args: --all-features --all-targets