Skip to content

Feat/merge in system text json branch #449

Feat/merge in system text json branch

Feat/merge in system text json branch #449

Triggered via pull request December 3, 2024 09:44
Status Failure
Total duration 4m 7s
Artifacts

CodeQuality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
Build
Process completed with exit code 7.
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build: VersionFileCreator/Program.cs#L56
Converting null literal or possible null value to non-nullable type.
Build: VersionFileCreator/Program.cs#L61
Possible null reference argument for parameter 'args' in 'Task<string> Program.GetOutputFolderFromArgs(string[] args)'.
Build: VersionFileCreator/Program.cs#L65
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2, string path3)'.
Build: VersionFileCreator/Program.cs#L133
Possible null reference return.
Build: VersionFileCreator/Program.cs#L128
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Build: VersionFileCreator/Program.cs#L1
Add or update the header of this file. (https://rules.sonarsource.com/csharp/RSPEC-1451)
Build: VersionFileCreator/Program.cs#L35
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
Build: VersionFileCreator/Program.cs#L165
Add a new line at the end of the file 'Program.cs'. (https://rules.sonarsource.com/csharp/RSPEC-113)
Build: VersionFileCreator/Program.cs#L34
Add a justification. (https://rules.sonarsource.com/csharp/RSPEC-6513)
Build: VersionFileCreator/Program.cs#L35
Types should not have members with visibility set higher than the type's visibility (https://rules.sonarsource.com/csharp/RSPEC-3059)