From b84700a3645d1c8df00485049e4eea0c543b52cc Mon Sep 17 00:00:00 2001 From: BAStos525 <66615487+BAStos525@users.noreply.github.com> Date: Mon, 20 Nov 2023 12:13:20 +0300 Subject: [PATCH] [ci]: Get more free space on the runner for release's long tests (#4052) Signed-off-by: BAStos525 --- .github/workflows/iroha2-release-pr.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/iroha2-release-pr.yml b/.github/workflows/iroha2-release-pr.yml index d877366d1b0..6a0e0d9c87e 100644 --- a/.github/workflows/iroha2-release-pr.yml +++ b/.github/workflows/iroha2-release-pr.yml @@ -133,9 +133,15 @@ jobs: image: hyperledger/iroha2-ci:nightly-2023-06-25 steps: - name: Maximize build space - run: | - sudo rm -rf /usr/share/dotnet - sudo rm -rf "$AGENT_TOOLSDIRECTORY" + uses: jlumbroso/free-disk-space@v1.3.1 + with: + tool-cache: true + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: false + swap-storage: true - uses: actions/checkout@v4 - name: Run long tests run: mold --run cargo test --workspace --no-fail-fast -- --ignored --test-threads=1 long