From e0bc09050a40d7c99fe8b64ba87fb936445d4e86 Mon Sep 17 00:00:00 2001 From: Flouse <1297478+Flouse@users.noreply.github.com> Date: Wed, 11 Oct 2023 15:03:32 +0000 Subject: [PATCH] fix: no space left in the rust-unit-test workflow --- .github/workflows/unit_test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index 59b39fff2..a95100add 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -38,7 +38,13 @@ jobs: key: ${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-cargo-test-${{ hashFiles('**/Cargo.lock') }} - name: Run Rust unit-test - run: make test + run: | + make test + du -hd1 target/debug/ + echo "reduce the cargo cache size" + rm -rf target/debug/examples + rm -rf target/debug/incremental + du -hd1 target/debug/ other-unit-test: runs-on: ubuntu-latest