diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bc21a82..8567f78 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -220,7 +220,9 @@ jobs: env: GOOS: ${{ matrix.os }} GOARCH: ${{ matrix.arch }} - run: go test -v -race -coverprofile="coverage.txt" -covermode=atomic ./... + run: | + echo ${CGO_ENABLED} + go test -v -race -coverprofile="coverage.txt" -covermode=atomic ./... # linux - name: 'Test on [linux] arch [386]' @@ -235,7 +237,9 @@ jobs: env: GOOS: ${{ matrix.os }} GOARCH: ${{ matrix.arch }} - run: go test -v -race -coverprofile="coverage.txt" -covermode=atomic ./... + run: | + echo ${CGO_ENABLED} + go test -v -race -coverprofile="coverage.txt" -covermode=atomic ./... - name: 'Setup qemu-user-static on [linux] arch [armv6, armv7, arm64, mips, mipsle, mips64, mips64le, ppc64, ppc64le, riscv64, s390x]' if: ${{ matrix.os == 'linux' && contains(fromJson('["armv6", "armv7", "arm64", "mips", "mipsle", "mips64", "mips64le", "ppc64", "ppc64le", "riscv64", "s390x"]'), matrix.arch) }} @@ -303,7 +307,9 @@ jobs: env: GOOS: ${{ matrix.os }} GOARCH: ${{ matrix.arch }} - run: go test -v -race -coverprofile="coverage.txt" -covermode=atomic ./... + run: | + echo %CGO_ENABLED% + go test -v -race -coverprofile="coverage.txt" -covermode=atomic ./... # freebsd - name: 'Build for [freebsd] arch [386, amd64]'