Skip to content

Prevent "Start server for nearest mission" job failures if there is no nearest mission #210

Prevent "Start server for nearest mission" job failures if there is no nearest mission

Prevent "Start server for nearest mission" job failures if there is no nearest mission #210

Triggered via pull request September 14, 2024 12:23
Status Success
Total duration 44s
Artifacts

dotnet-core-test.yml

on: pull_request
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/Pages/Mods.cshtml.cs#L30
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.