I’m trying to call a golang binary that’s versioned in the repo from a bash script that runs in CI. The output when it’s run is
./coverage-reporter: line 2: syntax error: unexpected ")"
This tells me maybe it’s trying to run the binary as a bash script because it doesn’t recognize the binary as executable. I tried echo
ing uname -m
to see the machine architecture, but it didn’t log out in the pipeline output for some reason.
The binary just takes a couple of values and makes an API request with them to post them somewhere. It works without issue on my x86_64 machine (OS X).
Is what I’m trying to do possible?