mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-11-13 17:11:08 -05:00
ci: don't filter output of govulncheck (#3148)
This commit is contained in:
parent
2fbbf02516
commit
9a01551f75
1 changed files with 2 additions and 7 deletions
|
|
@ -27,16 +27,11 @@ PATH=$(dirname "${go}"):${PATH}
|
||||||
check() {
|
check() {
|
||||||
err=0
|
err=0
|
||||||
|
|
||||||
echo "Scanning Go vulnerability DB for knwon vulnerabilities in modules:"
|
echo "Scanning Go vulnerability DB for known vulnerabilities in modules:"
|
||||||
for mod in ${submodules}; do
|
for mod in ${submodules}; do
|
||||||
echo " ${mod}"
|
echo " ${mod}"
|
||||||
echo -n " "
|
echo -n " "
|
||||||
CGO_ENABLED=0 ${govulncheck} -C "${mod}" "./..." |
|
CGO_ENABLED=0 ${govulncheck} -C "${mod}" "./..." || err=$?
|
||||||
tail -n 2 | # Providing some nice output...
|
|
||||||
tr '\n' ' ' |
|
|
||||||
sed s/" your code and"// &&
|
|
||||||
printf "\n" ||
|
|
||||||
err=$?
|
|
||||||
done
|
done
|
||||||
|
|
||||||
exit "${err}"
|
exit "${err}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue