From 629dff22fe9ee2d6705e63bd4f875cbfd9a91836 Mon Sep 17 00:00:00 2001 From: noah Date: Sun, 18 Oct 2026 20:51:23 -0600 Subject: [PATCH] Save coverage tool before pending conformance gate --- .gitea/workflows/main.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 22fe149..56c4adc 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -57,7 +57,9 @@ jobs: set -o pipefail cargo test --release --locked -- --ignored --nocapture --test-threads=1 | tee bench-current.txt - name: Restore coverage tool - uses: actions/cache@v4 + id: coverage-cache + uses: actions/cache/restore@v4 + continue-on-error: true with: path: /root/.cargo/bin/cargo-llvm-cov key: cargo-llvm-cov-0.8.7-rust-1.97.1-${{ runner.os }} @@ -68,6 +70,13 @@ jobs: cargo install --locked --force cargo-llvm-cov --version 0.8.7 fi [ "$(cargo llvm-cov --version)" = 'cargo-llvm-cov 0.8.7' ] + - name: Save coverage tool + if: steps.coverage-cache.outputs.cache-hit != 'true' + uses: actions/cache/save@v4 + continue-on-error: true + with: + path: /root/.cargo/bin/cargo-llvm-cov + key: cargo-llvm-cov-0.8.7-rust-1.97.1-${{ runner.os }} - name: Unit test coverage run: | mkdir -p coverage