From 67555d92822e0e464b52fadcd91864f524e65c3a Mon Sep 17 00:00:00 2001 From: Cameron Garnham Date: Sat, 14 Oct 2023 15:04:50 +0200 Subject: [PATCH] ci: avoid rust `cargo check` bug --- .github/workflows/coverage.yaml | 9 +++++---- .github/workflows/testing.yaml | 7 ++++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 2212f9be..2272d594 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -55,13 +55,14 @@ jobs: name: Install Intermodal run: cargo install imdl - - id: check - name: Run Build Checks - run: cargo check --workspace --all-targets --all-features + # Temporary Disabled to avoid Rust Compiler Bug + # - id: check + # name: Run Build Checks + # run: cargo check --tests --benches --examples --workspace --all-targets --all-features - id: test name: Run Unit Tests - run: cargo test --workspace --all-targets --all-features + run: cargo test --tests --benches --examples --workspace --all-targets --all-features - id: coverage name: Generate Coverage Report diff --git a/.github/workflows/testing.yaml b/.github/workflows/testing.yaml index ccc5b4c3..395c1d5a 100644 --- a/.github/workflows/testing.yaml +++ b/.github/workflows/testing.yaml @@ -57,9 +57,10 @@ jobs: name: Enable Workflow Cache uses: Swatinem/rust-cache@v2 - - id: check - name: Run Build Checks - run: cargo check --tests --benches --examples --workspace --all-targets --all-features + # Temporary Disabled to avoid Rust Compiler Bug + # - id: check + # name: Run Build Checks + # run: cargo check --tests --benches --examples --workspace --all-targets --all-features - id: lint name: Run Lint Checks