From fb7ca6d0d88499a38b2c17ee1fcf5f7bdff3892e Mon Sep 17 00:00:00 2001 From: Ashesh Vidyut Date: Wed, 14 Feb 2024 18:33:19 +0530 Subject: [PATCH] fix -race --- .github/workflows/bin-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/bin-ci.yml b/.github/workflows/bin-ci.yml index b26bb71..1b4a5c6 100644 --- a/.github/workflows/bin-ci.yml +++ b/.github/workflows/bin-ci.yml @@ -85,6 +85,8 @@ jobs: curl -sSL "${url}/v${{ env.GOTESTSUM_VERSION }}/gotestsum_${{ env.GOTESTSUM_VERSION }}_${PLATFORM}.tar.gz" | \ tar -xz --overwrite -C /usr/local/bin gotestsum - name: Test + env: + CGO_ENABLED: 1 run: | mkdir -p "$TEST_RESULTS_DIR/${{ matrix.consul-version }}/json" read -r -a PACKAGE_NAMES <<<"$(go list ./... | grep -v 'mocks' | grep -v 'testing' | tr '\n' ' ')"