You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when building a go test without the `-c` flag like so:
```yaml
builds:
- command: test
binary: env.test
dir: ./internal/builders/golang
no_main_check: true
```
will result in the error: `exit status 1: fork/exec : exec format error`
adding the -c flags when not present in the flags
adding unit test
#4462
---------
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Is your feature request related to a problem? Please describe.
when building a go test without the
-c
flag like so:will result in the error:
exit status 1: fork/exec : exec format error
Describe the solution you'd like
adding:
in internal/builders/golang/build.go#L286 would add the -c flag when not present by default
I can come up with a PR but I did not manage to push some code
Describe alternatives you've considered
clarifying the documentation at builds.md to add the requirements to put the
-c
flagsSearch
Supporter
Code of Conduct
Additional context
No response
The text was updated successfully, but these errors were encountered: