Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Prevent no disk space left on device by removing usused SDKs #1989

Merged
merged 2 commits into from
Sep 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/test-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,24 @@ jobs:
docker-images: false
swap-storage: false

# To free up disk space to not run out during the run
- name: Delete unused SDKs MacOS
if: matrix.name == 'mac-os'
run: |
echo "BEFORE CLEAN-UP:"
df -hI /dev/disk3s1s1
sudo rm -rf /Applications/Xcode_14.3.1.app
sudo rm -rf /Applications/Xcode_15.0.1.app
sudo rm -rf /Applications/Xcode_15.1.app
sudo rm -rf /Applications/Xcode_15.2.app
sudo rm -rf /Applications/Xcode_15.3.app
Matovidlo marked this conversation as resolved.
Show resolved Hide resolved
#sudo rm -rf ~/.dotnet
#sudo rm -rf /Library/Android
#sudo rm -rf /Library/Developer/CoreSimulator
Matovidlo marked this conversation as resolved.
Show resolved Hide resolved
echo "AFTER CLEAN-UP:"
df -hI /dev/disk3s1s1
continue-on-error: true

- name: Setup Go, tools and caching
uses: ./.github/actions/go-setup
with:
Expand Down
Loading