change cache root
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2024-01-04 14:56:41 +11:00
parent 53e48a50ac
commit 42e15c7176

View File

@@ -26,7 +26,7 @@ steps:
restore: true restore: true
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}' cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
archive_format: "gzip" archive_format: "gzip"
#filesystem_cache_root: "/tmp/cache" filesystem_cache_root: "/go/cache"
local_root: / local_root: /
mount: mount:
- pkg.mod - pkg.mod
@@ -57,7 +57,7 @@ steps:
rebuild: true rebuild: true
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}' cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
archive_format: "gzip" archive_format: "gzip"
#filesystem_cache_root: "/tmp/cache" filesystem_cache_root: "/go/cache"
mount: mount:
- pkg.mod - pkg.mod
- pkg.build - pkg.build