diff --git a/.github/workflows/nixos.yml b/.github/workflows/nixos.yml index 2fcd78eb..bdf54292 100644 --- a/.github/workflows/nixos.yml +++ b/.github/workflows/nixos.yml @@ -19,8 +19,20 @@ 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 + uses: easimon/maximize-build-space@v8 with: root-reserve-mb: 8192 swap-size-mb: 1024 @@ -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 @@ -71,7 +85,7 @@ jobs: sudo rm -rf /home/runner/.rustup - name: "Maximize Disk Space 😈" - uses: easimon/maximize-build-space@v6 + uses: easimon/maximize-build-space@v8 with: root-reserve-mb: 24432 swap-size-mb: 512 @@ -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