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 <roman@nspcc.ru>
This commit is contained in:
Roman Khimov 2021-05-13 16:56:51 +03:00 committed by Stanislav Bogatyrev
parent 9735f567af
commit 3bcd3a6289

View file

@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-20.04
env:
CGO_ENABLED: 0
CGO_ENABLED: 1
steps:
- uses: actions/checkout@v2
with: