From ba67be7ba216e52fedfc88f5797d6eec44075a99 Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Mon, 6 Oct 2025 14:59:49 +0200 Subject: [PATCH] codecov.yml avoid cache --- .github/workflows/codecov.yml | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index a84761a..082984e 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -15,38 +15,28 @@ jobs: LLVM_PROFILE_FILE: "coverage-%p-%m.profraw" steps: - # 1️⃣ Checkout the repo + # Checkout the repo - name: Checkout code uses: actions/checkout@v4 - # 2️⃣ Install Rust toolchain (nightly required for coverage) + # Install Rust toolchain (nightly required for coverage) - name: Set up Rust uses: dtolnay/rust-toolchain@stable with: toolchain: nightly components: llvm-tools-preview - # 3️⃣ Cache build artifacts for faster CI - - name: Cache cargo build - uses: actions/cache@v4 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - # 4️⃣ Build and test with coverage instrumentation + # Build and test with coverage instrumentation - name: Run tests run: | cargo build --all-features cargo test --all-features - # 5️⃣ Install grcov + # Install grcov - name: Install grcov run: cargo install grcov - # 6️⃣ Generate lcov report + # Generate lcov report - name: Generate coverage report run: | mkdir -p coverage @@ -60,7 +50,7 @@ jobs: --ignore "/*" \ -o coverage/tests.lcov - # 7️⃣ Upload to Codecov + # Upload to Codecov - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 with: