This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/docs/guides/1228-go-ci.md
Tanguy ⧓ Herrmann d87c6430e3
docs: fix go-ci guide slug and add file title
Signed-off-by: Tanguy ⧓ Herrmann <tanguy@dagger.io>
2022-04-14 16:16:10 +02:00

873 B

slug displayed_sidebar
/1228/go-ci europa

Go project CI

We want to run some tests and build a Go project with the go cue package.

Plan

The plan consist of 2 actions:

  • test for go test
  • build for go 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.