bazel: use -C flag in govulncheck ci

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-08-15 15:48:38 +02:00
parent 8c564ed84f
commit 6352d8005d

View File

@ -31,7 +31,7 @@ check() {
for mod in ${submodules}; do
echo " ${mod}"
echo -n " "
CGO_ENABLED=0 ${govulncheck} "${mod}/..." |
CGO_ENABLED=0 ${govulncheck} -C "${mod}" "./..." |
tail -n 2 | # Providing some nice output...
tr '\n' ' ' |
sed s/" your code and"// &&