From 89f9efe6399dce35d7e3ed0053cbf6aacf602c09 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 29 Dec 2022 12:04:34 +0100 Subject: [PATCH] Add workflow job to build examples Signed-off-by: Matthias Beyer --- .github/workflows/rust.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 33f8bcb..b09a86c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -21,6 +21,14 @@ jobs: - name: Run tests run: cargo test --verbose + build-examples: + needs: [build] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Build-examples + run: cargo build --examples --verbose + clippy: needs: [build] runs-on: ubuntu-latest