From 1ad5ddfc9ef0d5c4804abc3a75f09a27f859bdd1 Mon Sep 17 00:00:00 2001 From: Agustin Borgna Date: Tue, 29 Aug 2023 12:08:06 +0100 Subject: [PATCH] Avoid compiling twice in CI --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a1a119a5..2b40c0a6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,11 +82,11 @@ jobs: with: prefix-key: v0-rust-${{ matrix.rust }} - name: Build with no features - run: cargo build --verbose --no-default-features - - name: Build with all features - run: cargo build --verbose --all-features + run: cargo test --verbose --no-default-features --no-run - name: Tests with no features run: cargo test --verbose --no-default-features + - name: Build with all features + run: cargo test --verbose --all-features --no-run - name: Tests with all features run: cargo test --verbose --all-features