ci: free runner disk in the build-test job

The GoReleaser step failed on master with no space left on device
while compiling. Run the existing free-runner-disk script right after
checkout, before Go is installed, as the add-on jobs do.

Assisted-by: Claude:claude-sonnet-5-5
This commit is contained in:
Ettore Di Giacinto committed 2026-11-04 15:19:44 +00:00
1 parent 6be3a96083
commit f07c6c1b84
1 file changed
+5
+5
View File
@@ -61,6 +61,11 @@ jobs:
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Free disk space
# The three-platform build and the UI build fill the hosted runner and
# fail with "no space left on device". Remove the unused preinstalled
# toolchains before Go is installed.
run: sh scripts/ci/free-runner-disk.sh
- name: Set up Go
uses: actions/setup-go@v5
with: