1 name: Continuous Integration Checks
3 on: [push, pull_request]
9 platform: [ ubuntu-latest, macos-latest, windows-latest ]
10 toolchain: [ stable, 1.48.0 ]
15 - platform: macos-latest
17 runs-on: ${{ matrix.platform }}
19 - name: Checkout source code
20 uses: actions/checkout@v2
21 - name: Install Rust ${{ matrix.toolchain }} toolchain
22 uses: actions-rs/toolchain@v1
24 toolchain: ${{ matrix.toolchain }}
27 - name: Build on Rust ${{ matrix.toolchain }}
28 run: cargo build --verbose --color always
29 - name: Check formatting
31 run: rustup component add rustfmt && cargo fmt --all -- --check