From ca45975ea31c3c940b7e1af8192bc698ab006445 Mon Sep 17 00:00:00 2001 From: workflow <4farlion@gmail.com> Date: Sun, 10 Sep 2023 19:09:43 +0100 Subject: [PATCH] ci: get moar disk space --- .github/workflows/nixos.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/nixos.yml b/.github/workflows/nixos.yml index 2fcd78eb..bd47e2c9 100644 --- a/.github/workflows/nixos.yml +++ b/.github/workflows/nixos.yml @@ -19,6 +19,18 @@ jobs: run: | sudo mkdir /nix + - name: "Maximize Disk Space" + run: | + sudo rm -rf $AGENT_TOOLSDIRECTORY + sudo rm -rf /usr/local/.ghcup + sudo rm -rf /usr/local/share/powershell + sudo rm -rf /usr/local/share/chromium + sudo rm -rf /usr/local/lib/node_modules + sudo rm -rf /usr/local/lib/heroku + sudo rm -rf /var/lib/docker/overlay2 + sudo rm -rf /home/linuxbrew + sudo rm -rf /home/runner/.rustup + - name: "Maximize Disk Space 😈" uses: easimon/maximize-build-space@v6 with: @@ -28,6 +40,8 @@ jobs: remove-dotnet: "true" remove-android: "true" remove-haskell: "true" + remove-codeql: "true" + remove-docker-images: "true" - uses: actions/checkout@v3 @@ -79,6 +93,8 @@ jobs: remove-dotnet: "true" remove-android: "true" remove-haskell: "true" + remove-codeql: "true" + remove-docker-images: "true" - uses: actions/checkout@v3