From a17920e5e9320c99b3768099b1fce676259c3908 Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Thu, 5 Oct 2023 08:52:49 -0700 Subject: [PATCH] Adding disk cleanup to coverage action --- .github/workflows/coverage.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index bbc8845e3d..0b03f78109 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -35,6 +35,12 @@ jobs: - name: Install Rust uses: hecrj/setup-rust-action@v1 + - + name: Free disk space + run: | + sudo docker rmi $(docker image ls -aq) || true + sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc || true + - name: Run code coverage run: | cargo xtask generate-code-coverage-report --install-dependencies