universe: go: improve cache management

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2022-03-31 19:19:15 -07:00
parent f90b1ad079
commit 3e8c9379b5
4 changed files with 24 additions and 10 deletions

View File

@@ -12,7 +12,10 @@ dagger.#Plan & {
simple: go.#Container & {
source: _source
command: args: ["version"]
command: {
name: "go"
args: ["version"]
}
}
override: {
@@ -23,7 +26,10 @@ dagger.#Plan & {
command: go.#Container & {
input: base.output
source: _source
command: args: ["version"]
command: {
name: "go"
args: ["version"]
}
}
}
}