Updates 20231003 #152
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: clang-tidy-review | |
# You can be more specific, but it currently only works on pull requests | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# Optionally generate compile_commands.json | |
- uses: ZedThree/[email protected] | |
id: review | |
with: | |
clang_tidy_version: '14' | |
config_file: '.clang-tidy' | |
cmake_command: cmake . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON | |
include: 'Library/*.[ch]pp' | |
# If there are any comments, fail the check | |
#- if: steps.review.outputs.total_comments > 0 | |
# run: exit 1 |