Skip to content

refactor: support more features for Repl #176

refactor: support more features for Repl

refactor: support more features for Repl #176

Triggered via push July 4, 2024 16:23
Status Success
Total duration 6m 57s
Artifacts

dotnet.yml

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

Annotations

13 warnings
Running tests on ubuntu-latest
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Running tests on macOS-latest
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
windows-build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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#L19
Replace this call to 'Assembly.LoadFrom' with 'Assembly.Load'. (https://rules.sonarsource.com/csharp/RSPEC-3885)
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/ProjectReferenceResolver.cs#L23
Extract this nested ternary operation into an independent statement. (https://rules.sonarsource.com/csharp/RSPEC-3358)
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/ReferenceResolver/NuGetHelper.cs#L484
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
windows-build: src/dotnet-exec/Program.cs#L29
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)