Skip to content

bonfirestudios/action-build-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go builder

This action builds a golang program, parsing the output and adding annotations if there are any problems encountered during the build.

Inputs

version-path

The version path is used to refer to a version object in the code which is filled in during the link step. The version object contains

  • origin - the origin of the git repository that's being built
  • branch - the branch that's being built
  • revision - the commit hash
  • revisionTime - the time that this commit was made
  • version - the first 7 characters of the commit hash
  • buildTime - the time that this build is taking place

the times are formatted in RFC2822 format

working-directory

The working directory to run the build within

Example Usage

uses: bonfirestudios/actions-build-go@v1
with:
    version-path: 'go.bonfire.io/util/version'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •