File tree Expand file tree Collapse file tree 2 files changed +0
-65
lines changed Expand file tree Collapse file tree 2 files changed +0
-65
lines changed Original file line number Diff line number Diff line change @@ -275,48 +275,6 @@ jobs:
275
275
steps.run-tests.outcome == 'failure' ||
276
276
steps.run-tests.outcome == 'cancelled'
277
277
278
- sonar :
279
- runs-on : ubuntu-latest
280
- name : Sonar Pull-Request
281
- needs : check-changes
282
- if : needs.check-changes.outputs.library_changes == 'true'
283
- steps :
284
- - name : Checkout Code
285
- uses : actions/checkout@v2
286
- with :
287
- fetch-depth : 0
288
-
289
- - name : Set up Java
290
- uses : actions/setup-java@v2
291
- with :
292
- java-version : ' 17'
293
- distribution : ' adopt'
294
- architecture : x64
295
-
296
- - name : Install .NET
297
- uses : actions/setup-dotnet@v3
298
- with :
299
- dotnet-version : |
300
- 6.x
301
- 7.x
302
- 8.x
303
-
304
- - uses : actions/cache@v3
305
- with :
306
- path : ~/.nuget/packages
307
- key : ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
308
- restore-keys : |
309
- ${{ runner.os }}-nuget-
310
-
311
- - name : Run Sonar Analysis
312
- run : ./build.cmd SonarPr --SonarToken $SONARTOKEN
313
- env :
314
- HC_GITHUB_PR_NR : ${{ github.event.pull_request.number }}
315
- HC_GITHUB_HEAD_REF : ${{ github.event.pull_request.head.ref }}
316
- HC_GITHUB_BASE_REF : ${{ github.event.pull_request.base.ref }}
317
- GITHUB_REPOSITORY : ${{ github.repository }}
318
- SONARTOKEN : ${{ secrets.SONARTOKEN }}
319
-
320
278
codeql :
321
279
name : CodeQL
322
280
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 59
59
done
60
60
env :
61
61
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
62
-
63
- sonar_analysis :
64
- name : Sonar
65
- runs-on : ubuntu-latest
66
-
67
- steps :
68
- - name : Checkout code
69
- uses : actions/checkout@v2
70
- with :
71
- fetch-depth : 0
72
-
73
- - name : Set up Java
74
- uses : actions/setup-java@v2
75
- with :
76
- java-version : ' 17'
77
- distribution : ' adopt'
78
- architecture : x64
79
-
80
- - name : Run Sonar Analysis
81
- run : ./build.cmd Sonar --SonarToken $SONARTOKEN --SemVersion ${{ env.GIT_TAG }}
82
- env :
83
- GITHUB_REPOSITORY : ${{ github.repository }}
84
- SONARTOKEN : ${{ secrets.SONARTOKEN }}
You can’t perform that action at this time.
0 commit comments