diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f977930..e8edb92 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,4 +1,4 @@ -name: Test + name: Test on: push: @@ -15,6 +15,30 @@ jobs: id-token: "write" contents: "read" steps: + - name: Remove software and languages + shell: bash + run: | + sudo rm -rf \ + "$AGENT_TOOLSDIRECTORY" \ + /opt/google/chrome \ + /opt/microsoft/msedge \ + /opt/microsoft/powershell \ + /opt/pipx \ + /usr/lib/mono \ + /usr/local/julia* \ + /usr/local/lib/android \ + /usr/local/lib/node_modules \ + /usr/local/share/chromium \ + /usr/local/share/powershell \ + /usr/share/dotnet \ + /usr/share/swift + df -h / + - name: Remove old xcode versions + run: | + echo 'Searching for Xcode versions:' + find /Applications -name "Xcode*" -maxdepth 1 -mindepth 1 + echo "Removing old Xcode versions..." + find /Applications -name "Xcode*" | sort -r | tail --lines=+2 | xargs rm -rf - uses: actions/checkout@v4 - uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/magic-nix-cache-action@main