Skip to content

Commit 419822d

Browse files
committed
remove sonarqube scanning
1 parent efdd38b commit 419822d

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

.config/dotnet-tools.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22
"version": 1,
33
"isRoot": true,
44
"tools": {
5-
"dotnet-sonarscanner": {
6-
"version": "9.0.2",
7-
"commands": [
8-
"dotnet-sonarscanner"
9-
],
10-
"rollForward": false
11-
},
125
"nbgv": {
136
"version": "3.7.115",
147
"commands": [

.github/workflows/ci.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ jobs:
1818
uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0
21-
- name: Update Java SDK for SonarQube
22-
uses: actions/setup-java@v4
23-
with:
24-
distribution: 'microsoft'
25-
java-version: '21'
2621
- name: Setup .NET versions
2722
uses: actions/setup-dotnet@v4
2823
with:
@@ -34,23 +29,12 @@ jobs:
3429
run: dotnet --info
3530
- name: Restore dotnet tools
3631
run: dotnet tool restore
37-
- name: Prepare sonarqube
38-
if: ${{ github.actor != 'dependabot[bot]' }}
39-
env:
40-
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
41-
run: dotnet sonarscanner begin -d:sonar.host.url=https://sonarcloud.io -organization:testablehttpclient -key:testablehttpclient_TestableHttpClient -version:`dotnet nbgv get-version --variable NuGetPackageVersion` -d:sonar.cs.opencover.reportsPaths=**/coverage.opencover.xml -d:sonar.token=${{env.SONAR_TOKEN}}
4232
- name: Restore dependencies
4333
run: dotnet restore
4434
- name: Build source code
4535
run: dotnet build --configuration Release --no-restore
4636
- name: Test with dotnet
4737
run: dotnet test --configuration Release --no-build --collect="Code Coverage" --framework="net8.0"
48-
- name: Upload sonarqube results
49-
if: ${{ github.actor != 'dependabot[bot]' }}
50-
env:
51-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52-
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
53-
run: dotnet sonarscanner end -d:sonar.token=${{env.SONAR_TOKEN}}
5438
- name: Check source file format
5539
run: dotnet format --no-restore --verify-no-changes
5640
continue-on-error: true

0 commit comments

Comments
 (0)