Skip to content

Commit 8bc9fe1

Browse files
Pipeline fix
1 parent 33ea9c6 commit 8bc9fe1

3 files changed

Lines changed: 5 additions & 13 deletions

File tree

.github/workflows/dotnet-pipeline.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,10 @@ jobs:
1717
- name: Setup .NET
1818
uses: actions/setup-dotnet@v2
1919
with:
20-
dotnet-version: 6.0.x
20+
dotnet-version: 9.0.x
2121

2222
- name: Restore dependencies
2323
run: dotnet restore *.sln
24-
25-
- name: Instal sonarscanner
26-
run: dotnet tool install --global dotnet-sonarscanner
27-
28-
- name: Sonarscanner begin
29-
run: dotnet sonarscanner begin /o:"${{ secrets.SONAR_ORGANIZATION }}" /k:"${{ secrets.SONAR_PROJECT_KEY }}" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
3024

3125
- name: Build
3226
run: dotnet build *.sln --no-restore --configuration Release
33-
34-
- name: Sonarscanner end
35-
run: dotnet sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"

EntityFrameworkCoreRepository.sln

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.29009.5
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.12.35707.178 d17.12
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Nhea.Data.Repository.EntityFrameworkCoreRepository", "Nhea.Data.Repository.EntityFrameworkCoreRepository\Nhea.Data.Repository.EntityFrameworkCoreRepository.csproj", "{5BDB2099-521F-4C68-BFF1-DC8A8877A2FB}"
77
EndProject
88
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestProject", "TestProject\TestProject.csproj", "{A1363BD4-D1B0-432C-A745-70CC3E041316}"
99
EndProject
1010
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1D1D9037-610B-4BD6-8C21-1498FDD99D9C}"
1111
ProjectSection(SolutionItems) = preProject
12+
.github\workflows\dotnet-pipeline.yml = .github\workflows\dotnet-pipeline.yml
1213
README.md = README.md
1314
EndProjectSection
1415
EndProject

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public class MemberRepository : BaseSqlRepository<Member>
6666
}
6767
```
6868

69-
Then in your code just initalize a new instance of your class and call appropriate methods for your needs.
69+
Then in your code just initialize a new instance of your class and call appropriate methods for your needs.
7070

7171
```
7272
//Create new record

0 commit comments

Comments
 (0)