test: set mod flags for bom test
@@ -638,7 +638,8 @@ function bom_pass {
return
fi
echo "Checking bill of materials..."
- license-bill-of-materials \
+ # https://github.com/golang/go/commit/7c388cc89c76bc7167287fb488afcaf5a4aa12bf
+ GOFLAGS="-mod=mod" license-bill-of-materials \
--override-file bill-of-materials.override.json \
go.etcd.io/etcd/v3 go.etcd.io/etcd/v3/etcdctl >bom-now.json || true
if ! diff bill-of-materials.json bom-now.json; then
