From 3bcd3a62897d4e8ce274a4887d09204679a5bb50 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Thu, 13 May 2021 16:56:51 +0300 Subject: [PATCH] workflows: enable cgo for coverage test It's combined with `-race`, so we need cgo there: go test: -race requires cgo; enable cgo by setting CGO_ENABLED=1 make: *** [Makefile:50: cover] Error 2 Signed-off-by: Roman Khimov --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 09356a2..42f8b70 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-20.04 env: - CGO_ENABLED: 0 + CGO_ENABLED: 1 steps: - uses: actions/checkout@v2 with: