diff --git a/.github/workflows/ci-code_analysis-clang_tidy.yml b/.github/workflows/ci-code_analysis-clang_tidy.yml index a884f6d937..ea0c91c5a2 100644 --- a/.github/workflows/ci-code_analysis-clang_tidy.yml +++ b/.github/workflows/ci-code_analysis-clang_tidy.yml @@ -41,24 +41,6 @@ jobs: # Mark: - Analyze # - - name: Get modified files - id: modified_files - uses: Ana06/get-changed-files@v2.1.0 - with: - format: "space-delimited" - filter: "*" - - name: Run clang-tidy run: | - echo ${{ steps.modified_files.outputs.added }} \ - ${{ steps.modified_files.outputs.modified }} \ - ${{ steps.modified_files.outputs.added_modified }} \ - | xargs -n1 \ - | grep -E -v "_test" \ - | grep -E -v "extern" \ - | grep -E -v "gtest" \ - | grep -E -v "gmock" \ - | grep -E -v "mocks" \ - | grep -E -v "stubs" \ - | grep -E "\.h$|\.cpp$" \ - | xargs --no-run-if-empty ruby tools/run-clang-tidy.rb _build_cmake_tools + make clang_tidy_diff