While testing a Go project on Windows, I came across an error:
build cache is required, but could not be located: GOCACHE is not defined and %LocalAppData% is not defined
I can set GOCACHE or LocalAppData, but that seems unnecessary. LocalAppData should be set on Windows builds.
This will make testing most Go tools on Windows hard, as they will usually require writing to GOCACHE, which falls back to a directory under LocalAppData when unset.
Full logs: https://github.com/mvdan/unparam/runs/219056273