Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 3 additions & 1 deletion .github/actions/setup-ubuntu/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ runs:
- name: Install dependencies
# Shell must explicitly specify the shell for each step. https://github.com/orgs/community/discussions/18597
shell: bash
run: sudo apt install -y make direnv unzip lz4 wget curl npm jq pv coreutils libudev-dev
run: |
sudo apt-get update
sudo apt-get install -y make direnv unzip lz4 wget curl npm jq pv coreutils libudev-dev
- name: Setup npm
uses: actions/setup-node@v4
with:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/[email protected]
with: # bool variable is used to determine if the package should be removed or not
tool-cache: false # pre-cached tools (Node, Go, Python, Ruby). Saves ~6GB. Total CI impact: +90s (30s cleanup + 60s re-download)
docker-images: false # cached Docker images. Saves ~5-10GB. Total CI impact: +110s (20s cleanup + 90s re-pull goreleaser-cross)
swap-storage: false # swap storage. Saves ~4GB disk but risks OOM during parallel goreleaser builds. Keep swap for safety.
android: true # Android SDK. Saves ~14GB. Total CI impact: +30s (not used in build)
dotnet: true # .NET runtime. Saves ~2.7GB. Total CI impact: +10s (not used in build)
haskell: true # Haskell (GHC). Saves ~5GB. Total CI impact: +10s (not used in build)
large-packages: true # large packages (llvm, php, mysql, etc). Saves ~5.3GB. Total CI impact: +60s (not used in build)
- name: Setup environment
uses: ./.github/actions/setup-ubuntu
- run: make bins
Expand Down
Loading