diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e4199b..24ead6f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,4 +22,22 @@ jobs: - name: Run Clippy run: cargo clippy --all-targets --all-features -- -D warnings - name: Check code formatting - run: cargo fmt --all -- --check \ No newline at end of file + run: cargo fmt --all -- --check + + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + rust-toolchain: [stable] + steps: + - uses: actions/checkout@v2 + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: ${{ matrix.rust-toolchain }} + components: rust-src + override: true + - name: Build + run: cargo build +