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/plans/go-ci/plan.cue

25 lines
376 B
CUE
Raw Normal View History

package main
import (
"dagger.io/dagger"
"universe.dagger.io/go"
//"universe.dagger.io/bash"
)
dagger.#Plan & {
client: filesystem: "./hello": read: contents: dagger.#FS
actions: {
test: go.#Test & {
source: client.filesystem."./hello".read.contents
package: "./..."
}
build: go.#Build & {
source: client.filesystem."./hello".read.contents
}
}
}