fix(vpp): install vpp dependencies in checkstyle job 97/41297/3
authorDave Wallace <[email protected]>
Wed, 24 Jul 2024 22:16:33 +0000 (18:16 -0400)
committerDave Wallace <[email protected]>
Thu, 25 Jul 2024 16:59:01 +0000 (12:59 -0400)
- ensure correct version of clang-format is installed

Change-Id: Ieb944e8368076ca44bdc3a0060bfdd0252a71844
Signed-off-by: Dave Wallace <[email protected]>
jjb/scripts/vpp/checkstyle.sh

index 00fc8bd..7feae39 100755 (executable)
@@ -34,9 +34,9 @@ if git show --stat | grep -q "$MATRIX_FILE" ; then
     fi
 fi
 
-if [ -n "$(grep -E '^checkstyle:' Makefile)" ]
+if grep -qE '^checkstyle:' Makefile
 then
-       make checkstyle
+    make UNATTENDED=yes install-deps checkstyle
 else
-        echo "Can't find checkstyle target in Makefile - skipping checkstyle"
+    echo "Can't find checkstyle target in Makefile - skipping checkstyle"
 fi