From 3bb8ff714829e7564fcedd3c279bce0e5f922763 Mon Sep 17 00:00:00 2001 From: Brandon Stoll Date: Mon, 11 Mar 2024 22:07:31 -0700 Subject: [PATCH] Move cache directory to scratch disk partition (#2783) --- .github/workflows/go.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 66b2f09a11d..6ab972f2897 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -63,6 +63,8 @@ jobs: sudo rm -rf /usr/share/dotnet sudo rm -rf /usr/local/lib/android sudo rm -rf /opt/hostedtoolcache/CodeQL + sudo mv "${HOME}/.cache" /mnt/cache + ln -s /mnt/cache "${HOME}/.cache" - name: Checkout code uses: actions/checkout@v3 - name: Cache