From 047359d113f96c488e9621830bf2f33be5d90a50 Mon Sep 17 00:00:00 2001 From: Cameron Garnham Date: Sat, 14 Oct 2023 16:41:31 +0200 Subject: [PATCH] ci: temp: clean before build --- .github/workflows/coverage.yaml | 12 ++++++++---- .github/workflows/testing.yaml | 27 +++++++++++++++++++++++---- 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 2272d594..e84abf1a 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -45,6 +45,11 @@ jobs: name: Enable Workflow Cache uses: Swatinem/rust-cache@v2 + # Temporary Cleaning to avoid Rust Compiler Bug + - id: clean + name: Make Build Clean + run: cargo clean + - id: tools name: Install Tools uses: taiki-e/install-action@v2 @@ -55,10 +60,9 @@ jobs: name: Install Intermodal run: cargo install imdl - # 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: check + name: Run Build Checks + run: cargo check --tests --benches --examples --workspace --all-targets --all-features - id: test name: Run Unit Tests diff --git a/.github/workflows/testing.yaml b/.github/workflows/testing.yaml index 395c1d5a..c2f84433 100644 --- a/.github/workflows/testing.yaml +++ b/.github/workflows/testing.yaml @@ -28,6 +28,11 @@ jobs: name: Enable Workflow Cache uses: Swatinem/rust-cache@v2 + # Temporary Cleaning to avoid Rust Compiler Bug + - id: clean + name: Make Build Clean + run: cargo clean + - id: format name: Run Formatting-Checks run: cargo fmt --check @@ -57,10 +62,14 @@ jobs: name: Enable Workflow Cache uses: Swatinem/rust-cache@v2 - # Temporary Disabled to avoid Rust Compiler Bug - # - id: check - # name: Run Build Checks - # run: cargo check --tests --benches --examples --workspace --all-targets --all-features + # Temporary Cleaning to avoid Rust Compiler Bug + - id: clean + name: Make Build Clean + run: cargo clean + + - id: check + name: Run Build Checks + run: cargo check --tests --benches --examples --workspace --all-targets --all-features - id: lint name: Run Lint Checks @@ -97,6 +106,11 @@ jobs: name: Enable Job Cache uses: Swatinem/rust-cache@v2 + # Temporary Cleaning to avoid Rust Compiler Bug + - id: clean + name: Make Build Clean + run: cargo clean + - id: tools name: Install Tools uses: taiki-e/install-action@v2 @@ -136,6 +150,11 @@ jobs: name: Enable Job Cache uses: Swatinem/rust-cache@v2 + # Temporary Cleaning to avoid Rust Compiler Bug + - id: clean + name: Make Build Clean + run: cargo clean + - id: test name: Run Integration Tests run: ./docker/bin/e2e/run-e2e-tests.sh