mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
test: set mod flags for bom test
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
This commit is contained in:
parent
027c26a0fd
commit
e94201c9fd
3
test
3
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user