diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 8d1bdb2..4a9c768 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -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 \ No newline at end of file + args: -- -D warnings