Skip to content

Commit 723574d

Browse files
committed
update
1 parent 7650d95 commit 723574d

File tree

3 files changed

+6
-36
lines changed

3 files changed

+6
-36
lines changed

.github/workflows/clang-tidy-post.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ jobs:
1919
lgtm_comment_body: ''
2020
annotations: false
2121
max_comments: 10
22+
num_comments_as_exitcode: false

.github/workflows/clang-tidy-review.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
- uses: actions/checkout@v5
1414

1515
- uses: ZedThree/clang-tidy-review@v0.21.0
16+
id: review
1617
with:
1718
split_workflow: true
1819
build_dir: build
@@ -21,3 +22,7 @@ jobs:
2122
cmake_command: "cmake -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ."
2223

2324
- uses: ZedThree/clang-tidy-review/upload@v0.21.0
25+
26+
# If there are any comments, fail the check
27+
- if: steps.review.outputs.total_comments > 0
28+
run: exit 1

.github/workflows/cpp-linter.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)