chore: do a disk cleanup in gh actions to fix memo build (#3899)

This commit is contained in:
Saket Aryan
2026-01-13 11:42:54 +05:30
committed by GitHub
parent a1db0f6362
commit 2c90eedfff
+9
View File
@@ -7,6 +7,7 @@ on:
- 'mem0/**'
- 'tests/**'
- 'embedchain/**'
- '.github/workflows/**'
pull_request:
paths:
- 'mem0/**'
@@ -28,6 +29,7 @@ jobs:
mem0:
- 'mem0/**'
- 'tests/**'
- '.github/workflows/**'
embedchain:
- 'embedchain/**'
@@ -44,6 +46,13 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Clean up disk space
run: |
df -h
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
sudo docker image prune --all --force
sudo docker builder prune -a
df -h
- name: Install Hatch
run: pip install hatch
- name: Load cached venv