Skip to content

Commit f811ed2

Browse files
authored
build: maximize build space for build tests (#5072)
* build: maximize build space for build tests Signed-off-by: knqyf263 <[email protected]> * only for Linux Signed-off-by: knqyf263 <[email protected]> * maximize first Signed-off-by: knqyf263 <[email protected]> --------- Signed-off-by: knqyf263 <[email protected]>
1 parent 69ea5bf commit f811ed2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/test.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,16 @@ jobs:
156156
env:
157157
DOCKER_CLI_EXPERIMENTAL: "enabled"
158158
steps:
159+
- name: Maximize build space
160+
uses: easimon/maximize-build-space@v7
161+
with:
162+
root-reserve-mb: 35840 # The Go cache (`~/.cache/go-build` and `~/go/pkg`) requires a lot of storage space.
163+
remove-android: 'true'
164+
remove-docker-images: 'true'
165+
remove-dotnet: 'true'
166+
remove-haskell: 'true'
167+
if: matrix.operating-system == 'ubuntu-latest'
168+
159169
- name: Checkout
160170
uses: actions/[email protected]
161171

0 commit comments

Comments
 (0)