Skip to content

test: fix test cases #267

test: fix test cases

test: fix test cases #267

Triggered via push January 23, 2025 14:33
Status Success
Total duration 12m 37s
Artifacts

dotnet.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Running tests on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
windows-build: src/ReferenceResolver/NuGetHelper.cs#L25
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
windows-build: src/ReferenceResolver/AnalyzerReferenceLoader.cs#L20
Replace this call to 'Assembly.LoadFrom' with 'Assembly.Load'. (https://rules.sonarsource.com/csharp/RSPEC-3885)
windows-build: src/ReferenceResolver/ProjectReferenceResolver.cs#L23
Extract this nested ternary operation into an independent statement. (https://rules.sonarsource.com/csharp/RSPEC-3358)
windows-build: src/ReferenceResolver/NuGetReference.cs#L33
Correct one of the identical expressions on both sides of operator '|'. (https://rules.sonarsource.com/csharp/RSPEC-1764)
windows-build: src/ReferenceResolver/NuGetHelper.cs#L142
Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
windows-build: src/ReferenceResolver/NuGetHelper.cs#L167
Loop should be simplified by calling Select(item => item.Identity)) (https://rules.sonarsource.com/csharp/RSPEC-3267)
windows-build: src/ReferenceResolver/NuGetHelper.cs#L294
Refactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
windows-build: src/ReferenceResolver/NuGetHelper.cs#L451
Extract this nested ternary operation into an independent statement. (https://rules.sonarsource.com/csharp/RSPEC-3358)
windows-build: src/dotnet-exec/Contracts/ConfigProfile.cs#L8
Make 'Usings' a static property. (https://rules.sonarsource.com/csharp/RSPEC-2325)
windows-build: src/dotnet-exec/Contracts/ConfigProfile.cs#L14
Make 'References' a static property. (https://rules.sonarsource.com/csharp/RSPEC-2325)