From 926571e784326d63ee9df6f764389ca787f384de Mon Sep 17 00:00:00 2001 From: Santhosh Kumar Tekuri Date: Thu, 10 Nov 2022 11:35:10 +0530 Subject: [PATCH] ghaction: fix SIGABRT on macOS see https://github.com/golang/go/issues/49138 --- .github/workflows/go.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 055064c..3ecdfdf 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -15,6 +15,10 @@ jobs: go-version: ${{ matrix.go }} - name: checkout uses: actions/checkout@v2.3.4 + # https://github.com/golang/go/issues/49138 + - name: disable MallocNanoZone for macos-latest + run: echo "MallocNanoZone=0" >> $GITHUB_ENV + if: runner.os == 'macOS' - name: test run: go test -race -coverprofile coverage.txt -covermode atomic - name: upload coverage