Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add -c flags when building go test (#4473)
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>
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters