From bb3792b10672f515a419a1f009c3e0ab33aea6ca Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sun, 16 Mar 2025 12:08:26 +0100 Subject: [PATCH] Fix: [CI] Disable CodeQL Trap Cache, as it trashes our cache Each cache is ~1GB. And you can only have 10GB of cache. So after 10 runs, our cache is full of trap caches. The kicker? We don't actually benefit from this cache. It is only used if you re-run CodeQL over the exact same codebase (without changes), to quickly re-evaluate the latest CodeQL set. We are way to active to have any benefit from that, and we don't run CodeQL on a schedule to ever pick up on the cache. --- .github/workflows/codeql.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b1b9a904e4..1922f63b5f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -87,6 +87,7 @@ jobs: with: languages: cpp config-file: ./.github/codeql/codeql-config.yml + trap-caching: false - name: Build run: |