From 1c079af7eddd78b97c321f3fea36f1045497e79b Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Sat, 9 Aug 2025 16:16:54 -0500 Subject: [PATCH] CI: Try to gain more disk space for the CodeQL run --- .github/workflows/codeql_cpp.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/codeql_cpp.yml b/.github/workflows/codeql_cpp.yml index 20f276c586..4a2c8e89e3 100644 --- a/.github/workflows/codeql_cpp.yml +++ b/.github/workflows/codeql_cpp.yml @@ -72,19 +72,22 @@ jobs: with: egress-policy: audit - - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - fetch-depth: 2 - submodules: recursive - # prevent running out of disk space on Ubuntu runners. - name: Maximize build space uses: AdityaGarg8/remove-unwanted-software@90e01b21170618765a73370fcc3abbd1684a7793 # v5 with: verbose: 'true' - remove-android: 'true' # (frees ~9 GB) - remove-cached-tools: 'true' # (frees ~8.3 GB) + remove-android: 'true' # (frees ~9 GB) + remove-cached-tools: 'true' # (frees ~8.3 GB) + remove-haskell: 'true' # (frees ~5.2 GB) + remove-swapfile: 'true' # (frees ~4 GB) + remove-docker-images: 'true' # (frees ~3.2 GB) + + - name: Checkout repository + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + fetch-depth: 2 + submodules: recursive # Install FreeCAD dependencies (cpp) - name: Setup build environment