From f46c0e84ccac0ea01a8f81f8a6cc83bd78ed9844 Mon Sep 17 00:00:00 2001 From: laurent Date: Tue, 19 Nov 2024 04:19:06 +0100 Subject: [PATCH 1/2] Tweak the CI to avoid running out of disk space. --- .github/workflows/rust-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index db25503079..12218dc22a 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -37,6 +37,8 @@ jobs: os: [ubuntu-latest, windows-latest, macOS-latest] rust: [stable] steps: + - name: Delete huge unnecessary tools folder + run: rm -rf /opt/hostedtoolcache - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: From 93cfe78871e366c6173b1ed6fb9babcf9da4d700 Mon Sep 17 00:00:00 2001 From: laurent Date: Tue, 19 Nov 2024 04:21:47 +0100 Subject: [PATCH 2/2] Linux only. --- .github/workflows/rust-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index 12218dc22a..33d859dc36 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -38,6 +38,7 @@ jobs: 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