From f07c6c1b847080965324915799fa0d7393eb2371 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Wed, 4 Nov 2026 15:19:44 +0000 Subject: [PATCH] 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 --- .github/workflows/build-test.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index a4612d75f8..6d4fc191a7 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -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: