From 70d89ed8798336b03e9fb41dd2ec3cc6d285e075 Mon Sep 17 00:00:00 2001 From: Leonardo Parente <23251360+leoparente@users.noreply.github.com> Date: Fri, 16 Aug 2024 11:15:23 -0300 Subject: [PATCH] chore: free codeql space (#722) --- .github/workflows/code-ql.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/code-ql.yml b/.github/workflows/code-ql.yml index fe1bee863..5c02cbfed 100644 --- a/.github/workflows/code-ql.yml +++ b/.github/workflows/code-ql.yml @@ -31,6 +31,17 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Free disk space + run: | + sudo swapoff -a + sudo rm -f /swapfile + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android + sudo rm -rf /opt/ghc + sudo apt clean + docker rmi $(docker image ls -aq) + df -h + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3