File tree 3 files changed +19
-1
lines changed
3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,13 @@ jobs:
38
38
cmake \
39
39
-DCMAKE_EXPORT_COMPILE_COMMANDS=On \
40
40
..
41
- make -j$(nproc)
41
+ make " -j$(nproc)"
42
42
shell : bash
43
43
44
44
- name : clang-tidy review
45
45
uses : pajlada/clang-tidy-review@feat/split-up-review-and-post-workflows
46
46
if : github.event_name == 'pull_request'
47
+ id : review
47
48
with :
48
49
include : src/main.cpp
49
50
build_dir : build
56
57
path : |
57
58
clang-tidy-review-output.json
58
59
clang-tidy-review-metadata.json
60
+
61
+ - name : Get total comments
62
+ run : |
63
+ echo "Total comments: ${total_comments}"
64
+ env :
65
+ total_comments : ${{ steps.review.outputs.total_comments }}
Original file line number Diff line number Diff line change 36
36
run : unzip clang-tidy-review.zip
37
37
38
38
- uses : pajlada/clang-tidy-review/post_comments@feat/split-up-review-and-post-workflows
39
+ id : review
40
+
41
+ - name : Get total comments
42
+ run : |
43
+ echo "Total comments: ${total_comments}"
44
+ env :
45
+ total_comments : ${{ steps.review.outputs.total_comments }}
Original file line number Diff line number Diff line change 1
1
#include < iostream>
2
2
3
+ void myFunction ()
4
+ {
5
+ }
6
+
3
7
int main (int argc, char **argv)
4
8
{
5
9
auto test = new std::string; // :)
You can’t perform that action at this time.
0 commit comments