f6cee7f306
Signed-off-by: Solomon Hykes <solomon@dagger.io>
31 lines
446 B
CUE
31 lines
446 B
CUE
package go
|
|
|
|
import (
|
|
"dagger.io/dagger"
|
|
"universe.dagger.io/go"
|
|
"universe.dagger.io/alpine"
|
|
)
|
|
|
|
dagger.#Plan & {
|
|
actions: tests: container: {
|
|
_source: dagger.#Scratch & {}
|
|
|
|
simple: go.#Container & {
|
|
source: _source
|
|
command: args: ["version"]
|
|
}
|
|
|
|
override: {
|
|
base: alpine.#Build & {
|
|
packages: go: _
|
|
}
|
|
|
|
command: go.#Container & {
|
|
input: base.output
|
|
source: _source
|
|
command: args: ["version"]
|
|
}
|
|
}
|
|
}
|
|
}
|