Skip to content

Update to .NET 9 + use System.Text.Json #220

Update to .NET 9 + use System.Text.Json

Update to .NET 9 + use System.Text.Json #220

Triggered via pull request November 17, 2024 12:22
Status Failure
Total duration 33s
Artifacts

dotnet-core-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 12 warnings
tests: ArmaForces.ArmaServerManager/Features/Steam/Content/ContentVerifier.cs#L35
'Result<List<ManifestFile>>' does not contain a definition for 'OnFailure' and no accessible extension method 'OnFailure' accepting a first argument of type 'Result<List<ManifestFile>>' could be found (are you missing a using directive or an assembly reference?)
tests: ArmaForces.ArmaServerManager/Features/Steam/Content/ContentVerifier.cs#L35
'Result<List<ManifestFile>>' does not contain a definition for 'OnFailure' and no accessible extension method 'OnFailure' accepting a first argument of type 'Result<List<ManifestFile>>' could be found (are you missing a using directive or an assembly reference?)
tests
Process completed with exit code 1.
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#L54
Possible null reference return.
tests: ArmaForces.Arma.Server/Config/ConfigFileCreator.cs#L25
Dereference of a possibly null reference.
tests: ArmaForces.Arma.Server/Config/ConfigFileCreator.cs#L28
Possible null reference argument for parameter 'value' in 'string ConfigReplacer.ReplaceValue(string config, string key, string value)'.
tests: ArmaForces.Arma.Server/Config/ModsetConfig.cs#L73
Dereference of a possibly null reference.
tests: ArmaForces.Arma.Server/Config/ModsetConfig.cs#L85
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/Config/ConfigReplacerTests.cs#L38
Possible null reference argument for parameter 'value' in 'string ConfigReplacer.ReplaceValue(string config, string key, string value)'.
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.