forked from logos-co/nomos-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Coverage and PR workflows - no space left on device (logos-co#798)
* test: remove LLVM profiling * fix: add on push * test: use release mode * test: remove Android support from the runner * test: return back LLVM profiling - remove dotnet * fix: remove on push condition * fix: prune-vm action added * fix: move actions-checkout * fix: PR workflow * fix: remove on push condition from codecov
- Loading branch information
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Inspired by https://github.com/AdityaGarg8/remove-unwanted-software | ||
# to free up disk space. Currently removes Dotnet, Android and Haskell. | ||
name: Remove unwanted software | ||
description: Default GitHub runners come with a lot of unnecessary software | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Disk space report before modification | ||
shell: bash | ||
run: | | ||
echo "==> Available space before cleanup" | ||
echo | ||
df -h | ||
- name: Maximize build disk space | ||
shell: bash | ||
run: | | ||
set -euo pipefail | ||
sudo rm -rf /usr/share/dotnet | ||
sudo rm -rf /usr/local/lib/android | ||
sudo rm -rf /opt/ghc | ||
sudo rm -rf /usr/local/.ghcup | ||
- name: Disk space report after modification | ||
shell: bash | ||
run: | | ||
echo "==> Available space after cleanup" | ||
echo | ||
df -h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters