- Above Go version 1.20
- OCI container environment
- dagger
- Init source code
$ mkdir src
$ cd src
$ go mod init hello_dagger
- Write a source code
- Init CI code
# Must move a project root directory
$ go mod init ci
# Install degger
$ go get dagger.io/dagger@latest
- Write a ci code
- Add Github Action
# make directories
$ mkdir .github
$ mkdir .github/workflows/
- Write a github action yaml