From ddcfc95121f42ed875f1330bb333b9b89bc76499 Mon Sep 17 00:00:00 2001 From: Aalekh Patel Date: Tue, 15 Aug 2023 09:21:27 -0500 Subject: [PATCH] Fix workflow by running the rmp-serde example separately since it needs a feature enabled. --- .github/workflows/rust.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3fd7954b..7783ec65 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -75,7 +75,9 @@ jobs: - name: Run the examples run: | cargo clean - cargo run --example 2>&1 | grep -E '^ ' | xargs -n1 cargo run --example + # rmp-serde needs a feature activated, so we'll just run it separately. + cargo run --example 2>&1 | grep -E '^ ' | awk '!/rmp-serde/' | xargs -n1 cargo run --example + cargo run --example rmp-serde --features serde-rmp fmt: name: Ensure the heed project is formatted