From 8ad2912286dc6ab9c3d8929cff1a75eebf8aabf8 Mon Sep 17 00:00:00 2001 From: Eno Compton Date: Thu, 1 Aug 2024 10:24:54 -0600 Subject: [PATCH] chore: report disk usage in test run (#687) Either the runner code doesn't clean up after itself, we're not cleaning up after ourselves, or we're just not giving the runner enough disk space. As a result, we're seeing out of space errors. This addition will help diagnose the situation. --- .github/workflows/tests.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 92555606..037f8a23 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -52,6 +52,11 @@ jobs: issues: write pull-requests: write steps: + # This helps understand how much disk space the cache and custom runner + # is actually using. + # Related to https://github.com/actions/runner/issues/2708 + - name: Report disk usage + run: df -h - name: Setup Go uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: