File tree 1 file changed +14
-8
lines changed 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,17 @@ jobs:
17
17
pull-requests : write
18
18
checks : write
19
19
steps :
20
- - uses : actions/checkout@v3
21
- with :
22
- ref : ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
23
- fetch-depth : 0 # a full history is required for pull request analysis
24
- - name : ' Qodana Scan'
25
- uses : JetBrains/qodana-action@v2023.2
26
- env :
27
- QODANA_TOKEN : ${{ secrets.QODANA_TOKEN }}
20
+ - uses : actions/checkout@v3
21
+ with :
22
+ ref : ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
23
+ fetch-depth : 0 # a full history is required for pull request analysis
24
+ - name : ' Qodana Scan'
25
+ uses : JetBrains/qodana-action@v2023.2
26
+ env :
27
+ QODANA_TOKEN : ${{ secrets.QODANA_TOKEN }}
28
+ - name : Upload results to artifacts on failure
29
+ if : failure()
30
+ uses : actions/upload-artifact@v3
31
+ with :
32
+ name : qodana_results
33
+ path : ${{ runner.temp }}/qodana/results
You can’t perform that action at this time.
0 commit comments