CI: fix running clang-tidy on full sources
[tinc] / .ci / tidy / run.sh
index bd730d7..d196975 100755 (executable)
@@ -27,6 +27,7 @@ for path in $paths; do
 done
 
 if ! [ -f compile_commands.json ]; then
+  make clean
   compiledb make all extra
 fi