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

The go-build check does not support arguments. #68

Open
kierun opened this issue Apr 30, 2021 · 0 comments
Open

The go-build check does not support arguments. #68

kierun opened this issue Apr 30, 2021 · 0 comments

Comments

@kierun
Copy link

kierun commented Apr 30, 2021

I would like to use something like this:

    - id: go-build
      args: ["-o bin/exec"]

From looking at the code, it looks like we can change run-go-build.sh to be

#!/usr/bin/env bash
FILES=$(go list ./...  | grep -v /vendor/)
exec go build "$@" $FILES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant