ci: run Rust check on multiple OS (#286)
This commit is contained in:
parent
bdf6f96a80
commit
a0e96bd309
1 changed files with 10 additions and 4 deletions
12
.github/workflows/validate.yml
vendored
12
.github/workflows/validate.yml
vendored
|
|
@ -3,13 +3,19 @@
|
||||||
on:
|
on:
|
||||||
push: {}
|
push: {}
|
||||||
|
|
||||||
|
|
||||||
name: Validate
|
name: Validate
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
name: Check
|
name: Check
|
||||||
runs-on: ubuntu-latest
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: [windows-latest, ubuntu-latest, macOS-latest]
|
||||||
|
rust: [stable]
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
@ -18,7 +24,7 @@ jobs:
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: stable
|
toolchain: ${{ matrix.rust }}
|
||||||
override: true
|
override: true
|
||||||
|
|
||||||
- name: Run cargo check
|
- name: Run cargo check
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue