The environment variables passed to the latest app defined in snapcraft.yaml don't reach the intended run-go-test.sh script.
This PR moves the environment variable definitions to the run-go-test.sh script itself. It also sets the Go path, since it is missing. The libcurl4-openssl-dev package is removed as it should not be needed, assuming the root cause is the path to git executable rather than missing the package.
The environment variables passed to the
latest
app defined in snapcraft.yaml don't reach the intended run-go-test.sh script.This PR moves the environment variable definitions to the run-go-test.sh script itself. It also sets the Go path, since it is missing. The
libcurl4-openssl-dev
package is removed as it should not be needed, assuming the root cause is the path to git executable rather than missing the package.