Skip to content

Some performance and code optimizations (#955) #298

Some performance and code optimizations (#955)

Some performance and code optimizations (#955) #298

Triggered via push May 18, 2024 13:26
Status Success
Total duration 4m 16s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

60 warnings
ConfigTest
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Release
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build Release
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build Release: CompatBot/Commands/Sudo.cs#L137
'ILoggerBase.Factory' is obsolete: 'Factory-property is hard to mock for ILogger-interface. Instead use Logger.Factory. Marked obsolete with NLog v5.3'
Build Release: CompatBot/Utils/Extensions/AzureDevOpsClientExtensions.cs#L221
Dereference of a possibly null reference.
Build Release: CompatBot/Utils/Extensions/AzureDevOpsClientExtensions.cs#L251
Dereference of a possibly null reference.
Build Release: CompatBot/Utils/Extensions/AzureDevOpsClientExtensions.cs#L278
Dereference of a possibly null reference.
Build Release: CompatBot/EventHandlers/LogParsing/ArchiveHandlers/ZipHandler.cs#L44
Dereference of a possibly null reference.
Build Release: CompatBot/Commands/Sudo.Bot.cs#L251
'ILoggerBase.Factory' is obsolete: 'Factory-property is hard to mock for ILogger-interface. Instead use Logger.Factory. Marked obsolete with NLog v5.3'
Build Release: CompatBot/EventHandlers/LogParsing/ArchiveHandlers/SevenZipHandler.cs#L43
Dereference of a possibly null reference.
Build Release: CompatBot/EventHandlers/LogParsing/ArchiveHandlers/RarHandler.cs#L43
Dereference of a possibly null reference.
Build Release: CompatBot/Utils/ColorGetter.cs#L58
This call site is reachable on: 'Windows' all versions. 'Bitmap' is only supported on: 'windows' 6.1 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Release: CompatBot/Database/DbImporter.cs#L78
Method 'ExecuteSqlRawAsync' inserts interpolated strings directly into the SQL, without any protection against SQL injection. Consider using 'ExecuteSqlAsync' instead, which protects against SQL injection, or make sure that the value is sanitized and suppress the warning.
Run Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run Tests: CompatBot/Commands/Sudo.cs#L137
'ILoggerBase.Factory' is obsolete: 'Factory-property is hard to mock for ILogger-interface. Instead use Logger.Factory. Marked obsolete with NLog v5.3'
Run Tests: CompatBot/Commands/Sudo.Bot.cs#L251
'ILoggerBase.Factory' is obsolete: 'Factory-property is hard to mock for ILogger-interface. Instead use Logger.Factory. Marked obsolete with NLog v5.3'
Run Tests: CompatBot/Utils/Extensions/AzureDevOpsClientExtensions.cs#L221
Dereference of a possibly null reference.
Run Tests: CompatBot/Utils/Extensions/AzureDevOpsClientExtensions.cs#L251
Dereference of a possibly null reference.
Run Tests: CompatBot/Utils/Extensions/AzureDevOpsClientExtensions.cs#L278
Dereference of a possibly null reference.
Run Tests: CompatBot/EventHandlers/LogParsing/ArchiveHandlers/ZipHandler.cs#L44
Dereference of a possibly null reference.
Run Tests: CompatBot/EventHandlers/LogParsing/ArchiveHandlers/RarHandler.cs#L43
Dereference of a possibly null reference.
Run Tests: CompatBot/EventHandlers/LogParsing/ArchiveHandlers/SevenZipHandler.cs#L43
Dereference of a possibly null reference.
Run Tests: CompatBot/Database/DbImporter.cs#L78
Method 'ExecuteSqlRawAsync' inserts interpolated strings directly into the SQL, without any protection against SQL injection. Consider using 'ExecuteSqlAsync' instead, which protects against SQL injection, or make sure that the value is sanitized and suppress the warning.
Run Tests: CompatBot/Database/DbImporter.cs#L79
Method 'ExecuteSqlRawAsync' inserts interpolated strings directly into the SQL, without any protection against SQL injection. Consider using 'ExecuteSqlAsync' instead, which protects against SQL injection, or make sure that the value is sanitized and suppress the warning.
Build Docker image
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v1, docker/setup-buildx-action@v1, docker/login-action@v1, docker/build-push-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build Docker image
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@v1, docker/setup-buildx-action@v1, docker/login-action@v1, docker/build-push-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build Docker image
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Docker image
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Docker image
Dereference of a possibly null reference.
Build Docker image
Dereference of a possibly null reference.
Build Docker image
Dereference of a possibly null reference.
Build Docker image
'ILoggerBase.Factory' is obsolete: 'Factory-property is hard to mock for ILogger-interface. Instead use Logger.Factory. Marked obsolete with NLog v5.3'
Build Docker image
'ILoggerBase.Factory' is obsolete: 'Factory-property is hard to mock for ILogger-interface. Instead use Logger.Factory. Marked obsolete with NLog v5.3'
Build Docker image
Dereference of a possibly null reference.
Build Docker image
Dereference of a possibly null reference.
Build Docker image
Dereference of a possibly null reference.
Build Docker image: CompatBot/EventHandlers/LogParsing/ArchiveHandlers/ZipHandler.cs#L44
Dereference of a possibly null reference.
Build Docker image: CompatBot/Utils/Extensions/AzureDevOpsClientExtensions.cs#L221
Dereference of a possibly null reference.
Build Docker image: CompatBot/Utils/Extensions/AzureDevOpsClientExtensions.cs#L251
Dereference of a possibly null reference.
Build Docker image: CompatBot/Utils/Extensions/AzureDevOpsClientExtensions.cs#L278
Dereference of a possibly null reference.
Build Docker image: CompatBot/Commands/Sudo.cs#L137
'ILoggerBase.Factory' is obsolete: 'Factory-property is hard to mock for ILogger-interface. Instead use Logger.Factory. Marked obsolete with NLog v5.3'
Build Docker image: CompatBot/Commands/Sudo.Bot.cs#L251
'ILoggerBase.Factory' is obsolete: 'Factory-property is hard to mock for ILogger-interface. Instead use Logger.Factory. Marked obsolete with NLog v5.3'
Build Docker image: CompatBot/EventHandlers/LogParsing/ArchiveHandlers/RarHandler.cs#L43
Dereference of a possibly null reference.
Build Docker image: CompatBot/Database/DbImporter.cs#L78
Method 'ExecuteSqlRawAsync' inserts interpolated strings directly into the SQL, without any protection against SQL injection. Consider using 'ExecuteSqlAsync' instead, which protects against SQL injection, or make sure that the value is sanitized and suppress the warning.
Build Docker image: CompatBot/Database/DbImporter.cs#L79
Method 'ExecuteSqlRawAsync' inserts interpolated strings directly into the SQL, without any protection against SQL injection. Consider using 'ExecuteSqlAsync' instead, which protects against SQL injection, or make sure that the value is sanitized and suppress the warning.
Build Docker image
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Docker image
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Docker image
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Docker image
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Docker image
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Docker image
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Docker image
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Docker image
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Docker image
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Docker image
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Docker image
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Docker image
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Docker image
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/