Skip to content

Commit

Permalink
Add -ldflags to CI gotestsum
Browse files Browse the repository at this point in the history
  • Loading branch information
gligneul committed Sep 30, 2024
1 parent 827755e commit b5c9f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gotestsum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ done

packages=$(go list ./...)
for package in $packages; do
cmd="stdbuf -oL gotestsum --format short-verbose --packages=\"$package\" --rerun-fails=2 --no-color=false --"
cmd="stdbuf -oL gotestsum --format short-verbose --packages=\"$package\" --rerun-fails=2 --no-color=false -- -ldflags='-checklinkname=0'"

if [ "$timeout" != "" ]; then
cmd="$cmd -timeout $timeout"
Expand Down

0 comments on commit b5c9f52

Please sign in to comment.