File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,23 @@ jobs:
1313
1414 steps :
1515 - uses : actions/checkout@v4
16+ - uses : cpp-linter/cpp-linter-action@v2
17+ id : linter
18+ env :
19+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20+ with :
21+ style : file
22+ # The following value will only update a single comment
23+ # in a pull request's thread. Set it to false to disable the comment.
24+ # Set it to true to post a new comment (and delete the old comment).
25+ thread-comments : ${{ github.event_name == 'pull_request' && 'update' }}
26+ - name : Fail fast?!
27+ if : steps.linter.outputs.checks-failed > 0
28+ run : echo "Some files failed the linting checks!" || exit 1
1629 - run : |
1730 ./build.sh
1831 - name : Upload
19- uses : actions/upload-artifact@v3
32+ uses : actions/upload-artifact@v4
2033 with :
2134 name : ugrep-indexer
2235 path : bin/ugrep-indexer
You can’t perform that action at this time.
0 commit comments