From f86f4d62243d301b84c0992088be0effa153f22e Mon Sep 17 00:00:00 2001 From: Laurent Mazare Date: Tue, 19 Nov 2024 04:32:36 +0100 Subject: [PATCH] Tweak the CI to avoid running out of disk space. (#2630) * Tweak the CI to avoid running out of disk space. * Linux only. --- .github/workflows/rust-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index db25503079..33d859dc36 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -37,6 +37,9 @@ jobs: os: [ubuntu-latest, windows-latest, macOS-latest] rust: [stable] steps: + - name: Delete huge unnecessary tools folder + if: runner.os == 'Linux' + run: rm -rf /opt/hostedtoolcache - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: