4chain-ag/Build Go Application
Builds the application written in Go and uploads artifact with the binary and additional files
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Oct 17, 2024
- License
- MIT
Pinned Snippet
uses: 4chain-ag/build-go@cc8f2803701edcebc82d0a4c5d13ef82e7c27249 # v0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| version | Version (and git ref) of the application to build | yes | — |
| ref | Git ref to checkout before building the application, if not provided, the version input is used as ref | no | — |
| go-version | Version of Go which should be used to perform the checks. Takes precedence over go-version-file. | no | — |
| go-version-file | Accepts a path to a go.mod file or a go.work file that contains the version of Go. Default: 'go.mod' | no | go.mod |
| artifacts-suffix | Suffix to append to the artifact name to prevent collisions if this action is used multiple times in the same workflow | no | "" |
Outputs
no outputs