diff --git a/.github/workflows/clang-tidy.yaml b/.github/workflows/clang-tidy.yaml index aadd41216c..b467c56d44 100644 --- a/.github/workflows/clang-tidy.yaml +++ b/.github/workflows/clang-tidy.yaml @@ -65,6 +65,7 @@ jobs: - name: Run clang-tidy run: | + cmake --build build --target opentelemetry_proto jq -r .[].file build/compile_commands.json | grep -vE '/(generated|third_party)/' | xargs -P $(nproc) -n 1 clang-tidy --quiet -p build 2>&1 | tee -a clang-tidy.log - uses: actions/upload-artifact@v4