From 4f70468bdd4f3606398900eb41615c7a6851cd6b Mon Sep 17 00:00:00 2001 From: DmitriyLewen <91113035+DmitriyLewen@users.noreply.github.com> Date: Wed, 28 Feb 2024 16:06:52 +0600 Subject: [PATCH] ci: add maximize-build-space for `Test` job (#6221) --- .github/workflows/test.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 70dcacee5b71..829f65e6f129 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -15,6 +15,16 @@ jobs: matrix: operating-system: [ubuntu-latest, windows-latest, macos-latest] steps: + - name: Maximize build space + uses: easimon/maximize-build-space@v10 + with: + root-reserve-mb: 32768 # The golangci-lint uses a lot of space. + remove-android: "true" + remove-docker-images: "true" + remove-dotnet: "true" + remove-haskell: "true" + if: matrix.operating-system == 'ubuntu-latest' + - uses: actions/checkout@v4.1.1 - name: Set up Go