ab21b1b7be
Signed-off-by: Tanguy ⧓ Herrmann <tanguy@dagger.io>
908 B
908 B
slug | displayed_sidebar |
---|---|
/1229/go-ci | 0.2 |
Testing and building a Go project
This guide explains how to run some tests and build a Go project with the go
cue package.
Plan
The plan consist of 2 actions:
test
forgo test
build
forgo build
both use the Go dagger package
Go project
The project is a simple program that takes $NAME
environment variable, use the Go greeting package to print the greeting.Greeting()
out.