ci: run Rust check on multiple OS (#286)
This commit is contained in:
parent
8e07b838e1
commit
219ae51b5a
1 changed files with 10 additions and 4 deletions
14
.github/workflows/validate.yml
vendored
14
.github/workflows/validate.yml
vendored
|
|
@ -3,13 +3,19 @@
|
|||
on:
|
||||
push: {}
|
||||
|
||||
|
||||
name: Validate
|
||||
|
||||
jobs:
|
||||
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:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v2
|
||||
|
|
@ -18,7 +24,7 @@ jobs:
|
|||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
toolchain: ${{ matrix.rust }}
|
||||
override: true
|
||||
|
||||
- name: Run cargo check
|
||||
|
|
@ -70,4 +76,4 @@ jobs:
|
|||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: clippy
|
||||
args: -- -D warnings
|
||||
args: -- -D warnings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue