Skip to content

build: Update build.cs #239

build: Update build.cs

build: Update build.cs #239

Triggered via push October 10, 2024 16:25
Status Success
Total duration 6m 25s
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 use a deprecated Node.js version 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 use a deprecated Node.js version 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 use a deprecated Node.js version 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/ReferenceSchemaAttribute.cs#L11
Use primary constructor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0290)
windows-build: src/ReferenceResolver/ReferenceResolverFactory.cs#L18
Use primary constructor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0290)
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/NuGetReferenceResolver.cs#L10
Use primary constructor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0290)
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)