Job: go-test

run go test

Usage

include:
  - component: gitlab.com/release-process/golang/go-test@0.1.0

Inputs

NameDescriptionDefault
argsadditional arguments to pass to the go test command./...
dirthe directory to build.
nameThe name of the job applicationgolang:go-test
stagestage of the jobtest
versiongo version to use for building1.22

Variables

NameDescriptionDefault
CGO_ENABLEDwether to use cgo or not0
GOARCHtarget architecture (empty means same as build platform)""
GOOStarget operating system (empty means same as build platform)""