File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ jobs:
3838 with :
3939 fetch-depth : 0
4040
41- - name : Install tools
41+ - name : Install cppcheck
4242 run : |
4343 sudo apt-get update
44- sudo apt-get install -y clang-format cppcheck
44+ sudo apt-get install -y cppcheck
4545
4646 - name : Check if file changed
4747 id : changed
5151
5252 - name : clang-format scan ${{ matrix.provider-agent.file }}
5353 if : steps.changed.outputs.any_changed == 'true' || github.event_name == 'workflow_dispatch'
54- working-directory : ${{ matrix.provider-agent.dir }}
55- run : |
56- clang-format --dry-run -style=llvm --Werror ${{ matrix.provider-agent.file }}
54+ 55+ with :
56+ source : ${{ matrix.provider-agent.dir }}/${{ matrix.provider-agent.file }}
57+ style : llvm
5758
5859 - name : cppcheck scan ${{ matrix.provider-agent.file }} (SARIF)
5960 if : steps.changed.outputs.any_changed == 'true' || github.event_name == 'workflow_dispatch'
You can’t perform that action at this time.
0 commit comments