The former go get command is deprecated with current Go, and no longer works
correctly.
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Gbp-Pq: Name 0014-PATCH-13-18-packaging-use-go-install-to-install-spre.patch
# shellcheck disable=SC1091
. /etc/os-release
export GOPATH=/tmp/go
-/snap/bin/go get -u github.com/snapcore/spread/cmd/spread
+/snap/bin/go install github.com/snapcore/spread/cmd/spread@latest
/tmp/go/bin/spread -v "autopkgtest:${ID}-${VERSION_ID}-$(dpkg --print-architecture)":tests/smoke/
# store journal info for inspectsion