<#22442 Go backend module caching not working> Iss...
# github-notifications
c
#22442 Go backend module caching not working Issue created by bjoern-weidlich-anchorage Describe the bug Every time I run
pants fmt source/go/lib:
pants on a rather large mono repo it will take forever to download and analyze all go modules. What am I doing wrong here? Why does it not cache the modules and their analyses?
pants.toml
Copy code
[GLOBAL]
pants_version       = "2.28.0.dev4"
backend_packages    = [
  "pants.backend.experimental.go"
]
local_store_dir = "~/.cache/pants"

pants_ignore.add = [
  "*/pants-tmpdir/**",
]
[anonymous-telemetry]
enabled = false

[source]
root_patterns = ["source/go"]  
[golang]
minimum_expected_version = "1.24"
Pants version 2.28.0.dev4 OS Debian 11 pantsbuild/pants