fix: free disk space in CI before Docker build

The runner was running out of disk space during the Docker image build
(Rust compilation + Python deps). Remove unused toolchains first.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
Alex Cheema
2026-02-16 10:00:04 -08:00
co-authored by Claude Opus 4.6
parent 9bcc0f968b
commit b9dcea2b4e
+7
View File
@@ -10,7 +10,14 @@ on:
jobs:
e2e:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Free up disk space
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache
docker system prune -af
df -h /
- name: Checkout repository
uses: actions/checkout@v4
with: