File tree Expand file tree Collapse file tree 1 file changed +0
-53
lines changed
Expand file tree Collapse file tree 1 file changed +0
-53
lines changed Original file line number Diff line number Diff line change 2626 allow_approve : false
2727 enable_checks : " warning,unusedFunction,missingInclude"
2828 comment_result : false
29-
30- covscan :
31- runs-on : covscan
32- permissions :
33- contents : read
34- steps :
35- - name : Checkout target branch
36- uses : actions/checkout@v4
37- with :
38- ref : ${{ github.base_ref }}
39- path : target
40-
41- - name : Checkout pull request branch
42- uses : actions/checkout@v4
43- with :
44- ref : ${{ github.event.pull_request.head.sha }}
45- path : pr
46-
47- - name : Build source rpm - ${{ github.base_ref }}
48- id : target
49- uses : ./target/.github/actions/build-srpm
50- with :
51- working-directory : target
52- version : ${{ github.base_ref }}
53-
54- - name : Build source rpm - pr${{ github.event.pull_request.number }}
55- id : pr
56- uses : ./target/.github/actions/build-srpm
57- with :
58- working-directory : pr
59- version : pr${{ github.event.pull_request.number }}
60-
61- - name : Run covscan
62- run : |
63- run-covscan --base-srpm "${{ steps.target.outputs.path }}" --srpm "${{ steps.pr.outputs.path }}" --output-dir logs
64-
65- - name : Print result
66- uses : next-actions/print-logs@master
67- if : always()
68- with :
69- working-directory : logs
70- files : |
71- added.err
72- *.err
73-
74- - name : Upload artifacts
75- if : always()
76- uses : actions/upload-artifact@v3
77- with :
78- if-no-files-found : ignore
79- name : covscan
80- path : |
81- ./logs/*.err
You can’t perform that action at this time.
0 commit comments