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