Skip to content

Commit 94af594

Browse files
committed
Removed SonarLint, updated verify.yml
1 parent d8e710c commit 94af594

6 files changed

Lines changed: 5 additions & 511 deletions

File tree

.github/workflows/verify.yml

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,13 @@ jobs:
1212
runs-on: windows-latest
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v6
1616
with:
1717
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
18-
- name: Setup .NET Core
19-
uses: actions/setup-dotnet@v1
18+
- name: Setup .NET
19+
uses: actions/setup-dotnet@v4
2020
with:
21-
dotnet-version: 3.1.301
22-
- name: Cache SonarCloud packages
23-
uses: actions/cache@v1
24-
with:
25-
path: ~\sonar\cache
26-
key: ${{ runner.os }}-sonar
27-
restore-keys: ${{ runner.os }}-sonar
28-
- name: Cache SonarCloud scanner
29-
id: cache-sonar-scanner
30-
uses: actions/cache@v1
31-
with:
32-
path: .\.sonar\scanner
33-
key: ${{ runner.os }}-sonar-scanner
34-
restore-keys: ${{ runner.os }}-sonar-scanner
35-
- name: Install SonarCloud scanner
36-
if: steps.cache-sonar-scanner.outputs.cache-hit != 'true'
37-
shell: powershell
38-
run: |
39-
New-Item -Path .\.sonar\scanner -ItemType Directory
40-
dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner
21+
dotnet-version: 10.0.300
4122
- name: Install dependencies
4223
run: dotnet restore
4324
- name: Build, test and analyze
@@ -46,8 +27,6 @@ jobs:
4627
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4728
shell: powershell
4829
run: |
49-
.\.sonar\scanner\dotnet-sonarscanner begin /k:"Gxost_JsonPathExpressions" /o:"gxost" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
5030
dotnet build --configuration Release --no-restore
5131
dotnet build --configuration Debug --no-restore
5232
dotnet test --configuration Debug --no-build --verbosity normal --logger:trx /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
53-
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"

.sonarlint/JsonPathExpressions.slconfig

Lines changed: 0 additions & 15 deletions
This file was deleted.

.sonarlint/gxost_jsonpathexpressions/CSharp/SonarLint.xml

Lines changed: 0 additions & 97 deletions
This file was deleted.

0 commit comments

Comments
 (0)