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