File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -77,13 +77,14 @@ jobs:
7777 with :
7878 logfile : ${{ github.workspace }}/build/compile_commands.json
7979 config : ' /home/runner/work/rawtoaces/rawtoaces/tests/static_analysis/codechecker.json'
80+ diff : true
8081
8182 - uses : actions/upload-artifact@v4
82- if : ${{ steps.codechecker.outputs.warnings == 'true' }}
83+ if : ${{ steps.codechecker.outputs.warnings_in_diff == 'true' }}
8384 with :
8485 name : " CodeChecker Bug Reports"
85- path : ${{ steps.codechecker.outputs.result-html-dir }}
86- # path: ${{ steps.codechecker.outputs.diff-html-dir }}
86+ # path: ${{ steps.codechecker.outputs.result-html-dir }}
87+ path : ${{ steps.codechecker.outputs.diff-html-dir }}
8788
8889 - uses : actions/upload-artifact@v4
8990 if : false # set to `true` to write out the raw output for diff-ing
9293 path : ${{ steps.codechecker.outputs.analyze-output }}
9394
9495 - name : " Break build if CodeChecker reported any findings"
95- if : ${{ steps.codechecker.outputs.warnings == 'true' }}
96+ if : ${{ steps.codechecker.outputs.warnings_in_diff == 'true' }}
9697 run : exit 1
Original file line number Diff line number Diff line change 11{
22 "analyze" : [
33 " --skip=/home/runner/work/rawtoaces/rawtoaces/tests/static_analysis/skipfile.txt"
4+ ],
5+ "diff" : [
6+ " --basename=/home/runner/work/rawtoaces/rawtoaces/tests/static_analysis/snapshot"
47 ]
58}
You can’t perform that action at this time.
0 commit comments