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