4chain-ag/Build Go Application

Builds the application written in Go and uploads artifact with the binary and additional files

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Oct 17, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: 4chain-ag/build-go@cc8f2803701edcebc82d0a4c5d13ef82e7c27249 # v0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
versionVersion (and git ref) of the application to buildyes
refGit ref to checkout before building the application, if not provided, the version input is used as refno
go-versionVersion of Go which should be used to perform the checks. Takes precedence over go-version-file.no
go-version-fileAccepts a path to a go.mod file or a go.work file that contains the version of Go. Default: 'go.mod'nogo.mod
artifacts-suffixSuffix to append to the artifact name to prevent collisions if this action is used multiple times in the same workflowno""

no outputs