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.
Files
dagger/docs/guides/1228-go-ci.md
Tanguy ⧓ Herrmann f744996556 docs: add simple Go guide
Signed-off-by: Tanguy ⧓ Herrmann <tanguy@dagger.io>
2022-04-14 16:15:19 +02:00

779 B

slug, displayed_sidebar
slug displayed_sidebar
/1227/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.Greet() out.