Skip to content

Code style enforcing #18

Code style enforcing

Code style enforcing #18

Workflow file for this run

name: clang-tidy-review
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
# Ideally we would want to run the clang-tidy for every kind of build.
# This would make shure that we will check all platform dependent code parts.
# Here we only test the standard linux build.
- uses: ZedThree/[email protected]
id: review
with:
split_workflow: true
config_file: '.clang-tidy'
cmake_command: 'cmake . && make -j2'
- uses: ZedThree/clang-tidy-review/[email protected]
id: upload-review
- if: steps.review.outputs.total_comments > 0
run: exit 1