Skip to content

Commit

Permalink
chore: report disk usage in test run
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
enocom authored Aug 1, 2024
1 parent 790b935 commit 4ab9b18
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4ab9b18

Please sign in to comment.