Skip to content

Graph-Native Infrastructure for Context and Accountable AI Systems

fix: add disk cleanup step to resolve space issues in CI

KaifAhmad1efabe8f7ba55
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 37d55bb1..5830d4fd 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -27,6 +27,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
+ - name: Free Disk Space (Ubuntu)
+ uses: jlumbroso/free-disk-space@main
+ with:
+ tool-cache: false
+ android: true
+ dotnet: true
+ haskell: true
+ large-packages: true
+ docker-images: true
+ swap-storage: true
+
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml
index 6cebca2c..6a6a9166 100644
--- a/.github/workflows/security.yml
+++ b/.github/workflows/security.yml
@@ -25,6 +25,22 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
+ - name: Free Disk Space (Ubuntu)
+ uses: jlumbroso/free-disk-space@main
+ with:
+ # this might remove tools that are actually needed,
+ # if set to "true" but frees about 6GB
+ tool-cache: false
+
+ # all of these default to true, but feel free to set to
+ # "false" if necessary for your workflow
+ android: true
+ dotnet: true
+ haskell: true
+ large-packages: true
+ docker-images: true
+ swap-storage: true
+
- name: Set up Python
uses: actions/setup-python@v5
with: