Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add -c flags when building go test #4473

Merged
merged 2 commits into from Dec 12, 2023
Merged

fix: add -c flags when building go test #4473

merged 2 commits into from Dec 12, 2023

Commits on Dec 12, 2023

  1. fix: add -c flags when building go test

    when building a go test without the `-c` flag like so:
    ```
     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
    fl0Lec committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    93e2807 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9debe8a View commit details
    Browse the repository at this point in the history