bazel: disable CGO in govulncheck

This commit is contained in:
Malte Poll 2023-05-19 14:30:14 +02:00 committed by Malte Poll
parent 21d4e5864f
commit 524718d82c

View File

@ -30,7 +30,7 @@ echo "Scanning Go vulnerability DB for knwon vulnerabilities in modules:"
for mod in ${submodules}; do
echo " ${mod}"
echo -n " "
${govulncheck} "${mod}/..." |
CGO_ENABLED=0 ${govulncheck} "${mod}/..." |
tail -n 2 | # Providing some nice output...
tr '\n' ' ' |
sed s/" your code and"// &&