Skip to content

Fix 400 returned when server is not found (#98) #214

Fix 400 returned when server is not found (#98)

Fix 400 returned when server is not found (#98) #214

Triggered via push September 14, 2024 12:29
Status Success
Total duration 45s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
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/
tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
tests: ArmaForces.Arma.Server/Config/Settings.cs#L53
Possible null reference return.
tests: ArmaForces.Arma.Server/Config/ModsetConfig.cs#L74
Dereference of a possibly null reference.
tests: ArmaForces.Arma.Server/Config/ModsetConfig.cs#L86
Dereference of a possibly null reference.
tests: ArmaForces.Arma.Server/Features/Servers/A2SInfo.cs#L138
Possible null reference argument for parameter 'logger' in 'void LoggerExtensions.LogTrace(ILogger logger, string? message, params object?[] args)'.
tests: ArmaForces.Arma.Server.Tests/Helpers/TestSettings.cs#L27
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.
tests: ArmaForces.Arma.Server.Tests/Helpers/TestDedicatedServer.cs#L27
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
tests: ArmaForces.Arma.Server.Tests/Helpers/TestDedicatedServer.cs#L43
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.
tests: ArmaForces.Arma.Server.Tests/Helpers/TestDedicatedServer.cs#L56
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.
tests: ArmaForces.Arma.Server.Tests/Helpers/TestDedicatedServer.cs#L72
The field 'TestDedicatedServer.OnServerRestarted' is assigned but its value is never used
tests: ArmaForces.ArmaServerManager/Common/HttpClientBase.cs#L24
Nullability of reference types in value of type 'Result<T?>' doesn't match target type 'Result<T>'.