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