diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 83b1c37..89a6fbb 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -39,7 +39,7 @@ jobs: # Check the entire repo for source files to tidy files-changed-only: false # Ignore qtk build and external assimp directories - ignore: '.github|build|extern/assimp/assimp' + ignore: '.github|build|extern' # Point to compile_commands.json produced by build database: 'build' # Use thread comments as feedback @@ -61,8 +61,12 @@ jobs: steps: - uses: actions/checkout@v4 - - name: clang-format Check - uses: jidicula/clang-format-action@v4.16.0 + - uses: cpp-linter/cpp-linter-action@v2 with: - clang-format-version: '18' - check-path: ${{ matrix.path }} + version: '18' + style: 'file' + tidy-checks: '' + files-changed-only: false + ignore: '.github|build|extern' + extensions: 'cpp,h' + files: ${{ matrix.path }}