File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: cpp-linter as action
33on :
44 workflow_dispatch :
55 workflow_call :
6+ pull_request :
67
78
89jobs :
3233 run : mkdir build && cmake -Bbuild src
3334
3435 - name : Run linter as action
35- uses : cpp-linter/cpp-linter-action@latest
36+ uses : cpp-linter/cpp-linter-action@v3
3637 id : linter
3738 env :
3839 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -42,10 +43,12 @@ jobs:
4243 # to ignore all build folder contents
4344 ignore : build
4445 database : build
45- verbosity : 9
46+ verbosity : debug
4647 version : ${{ matrix.clang-version }}
47- thread-comments : ${{ matrix.clang-version == '12' }}
48- file-annotations : ${{ matrix.clang-version == '12' }}
48+ thread-comments : ${{ matrix.clang-version == '17' && 'update' }}
49+ file-annotations : ${{ matrix.clang-version == '17' }}
50+ tidy-review : ${{ matrix.clang-version == '17' }}
51+ format-review : ${{ matrix.clang-version == '17' }}
4952 extra-args : -std=c++14 -Wall
5053
5154 - name : Fail fast?!
Original file line number Diff line number Diff line change 77 description : ' which branch to test'
88 default : ' main'
99 required : true
10- pull_request :
10+ # pull_request:
1111
1212jobs :
1313 cpp-linter :
You can’t perform that action at this time.
0 commit comments