More tweaks to fix PR GitHub Actions Test jobs for Certify #60
8_0_Core_Unit_Tests_Win.yaml
on: push
build-and-test-windows
12m 33s
Annotations
10 warnings
build-and-test-windows
ProjectReference 'D:\a\certify\certify\certify\src\Certify.Service\Certify.Service.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v8.0'. This project may not be fully compatible with your project.
|
build-and-test-windows:
src/Certify.Models/Config/AccessControl.cs#L46
Cannot convert null literal to non-nullable reference type.
|
build-and-test-windows:
src/Certify.Models/Config/AccessControl.cs#L74
Non-nullable property 'IncludedResources' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
build-and-test-windows:
src/Certify.Models/Config/ManagedCertificate.cs#L651
Possible null reference argument for parameter 'item' in 'bool List<string>.Contains(string item)'.
|
build-and-test-windows:
src/Certify.Models/Config/CertRequestConfig.cs#L371
Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1869)
|
build-and-test-windows:
src/Certify.Models/Config/CertRequestConfig.cs#L392
Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1869)
|
build-and-test-windows:
src/Certify.Shared/Utils/NetworkUtils.cs#L212
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-and-test-windows:
src/Certify.Shared/Utils/NetworkUtils.cs#L265
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-and-test-windows:
src/Certify.Shared/Utils/RdapService.cs#L61
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-and-test-windows:
src/Certify.Shared/Management/CertificateManager.cs#L77
'X509Certificate2.PrivateKey' is obsolete: 'X509Certificate2.PrivateKey is obsolete. Use the appropriate method to get the private key, such as GetRSAPrivateKey, or use the CopyWithPrivateKey method to create a new instance with a private key.' (https://aka.ms/dotnet-warnings/SYSLIB0028)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
dotnet-results-8_0-Windows
Expired
|
33.1 MB |
|