From 3ca62186b7f69a7ad5e12d6ab3830fad1d880e82 Mon Sep 17 00:00:00 2001 From: Volodymyr Kolesnykov Date: Fri, 15 Nov 2024 15:44:42 +0200 Subject: [PATCH] fix: run protobuf compiler first --- .github/workflows/clang-tidy.yaml | 1 + 1 file changed, 1 insertion(+) 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