Skip to content

Commit

Permalink
fix: DNS issue in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanchriswhite committed Feb 24, 2023
1 parent c8ae3f4 commit 2c8989f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
# Not utilizing makefile target here to make use of pipefail bash feature.
run: |
set -euo pipefail
go test -p 1 -json ./... -covermode=count -coverprofile=coverage.out 2>&1 | tee test_results.json
GODEBUG=netdns=cgo go test -p 1 -json ./... -covermode=count -coverprofile=coverage.out 2>&1 | tee test_results.json
- name: Sanitize test results
# We're utilizing `tee` above which can capture non-json stdout output so we need to remove non-json lines before additional parsing and submitting it to the external github action.
if: ${{ always() && env.TARGET_GOLANG_VERSION == matrix.go }}
Expand Down

0 comments on commit 2c8989f

Please sign in to comment.