mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-19 14:57:04 +00:00
When modules are configured, go will now attempt to fetch them on build, using the proxy. That causes the integration tests run via Docker to fail, because go build attempts to contact the proxy within the test environment, which has the external DNS resolvers disabled. This patch fixes the problem by adjusting the pre-run fetch to use the new modules system. We fetch the dependencies to the cache so that when they're needed within the environment, they are present and there's no need to use the proxy.