fix: corrections
This commit is contained in:
@@ -36,10 +36,10 @@ jobs:
|
||||
dotnet-version: ${{ env.DOTNET_VERSION }}
|
||||
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore
|
||||
run: dotnet restore Shop.sln
|
||||
|
||||
- name: Build
|
||||
run: dotnet build --nologo --no-restore --configuration Release
|
||||
run: dotnet build Shop.sln --nologo --no-restore --configuration Release
|
||||
|
||||
- name: Test
|
||||
run: dotnet test --nologo --no-build --no-restore --configuration Release --verbosity minimal --logger "console;verbosity=detailed"
|
||||
run: dotnet test Shop.sln --nologo --no-build --no-restore --configuration Release --verbosity minimal --logger "console;verbosity=detailed"
|
||||
|
||||
@@ -58,7 +58,7 @@ jobs:
|
||||
shell: powershell
|
||||
run: |
|
||||
.\.sonar\scanner\dotnet-sonarscanner begin /k:"ASP.NET-Core-Clean-Architecture-CQRS-Event-Sourcing" /o:"jeangatto" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.verbose=false
|
||||
dotnet restore
|
||||
dotnet build --nologo --no-restore
|
||||
dotnet test --nologo --no-build --no-restore --verbosity minimal -p:CollectCoverage=true -p:CoverletOutputFormat=opencover -p:CoverletOutput=TestResults/
|
||||
dotnet restore Shop.sln
|
||||
dotnet build Shop.sln --nologo --no-restore
|
||||
dotnet test Shop.sln --nologo --no-build --no-restore --verbosity minimal -p:CollectCoverage=true -p:CoverletOutputFormat=opencover -p:CoverletOutput=TestResults/
|
||||
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
|
||||
|
||||
@@ -24,8 +24,6 @@
|
||||
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.11" />
|
||||
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.1.0" />
|
||||
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Versioning" Version="5.1.0" />
|
||||
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" />
|
||||
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.7.0" />
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Analyzers" Version="7.0.11" />
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.11" />
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore.InMemory" Version="7.0.11" />
|
||||
@@ -60,8 +58,6 @@
|
||||
<PackageVersion Include="NSubstitute.Analyzers.CSharp" Version="1.0.16" />
|
||||
<PackageVersion Include="NSubstitute" Version="5.1.0" />
|
||||
<PackageVersion Include="Polly" Version="7.2.4" />
|
||||
<PackageVersion Include="Roslynator.Analyzers" Version="4.5.0" />
|
||||
<PackageVersion Include="SonarAnalyzer.CSharp" Version="9.10.0.77988" />
|
||||
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.5.0" />
|
||||
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="7.0.0" />
|
||||
<PackageVersion Include="System.Text.Json" Version="7.0.3" />
|
||||
|
||||
Reference in New Issue
Block a user