Skip to content

Updating / refactoring abit, wip #70

Updating / refactoring abit, wip

Updating / refactoring abit, wip #70

Triggered via pull request August 6, 2024 09:48
@pksorensenpksorensen
synchronize #16
pks/tpc
Status Success
Total duration 2m 47s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
Testing
Process completed with exit code 126.
Testing
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Testing
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Testing: sdk/DTO/AttributeDefinition.cs#L137
'CascadeOptions' overrides Object.Equals(object o) but does not override Object.GetHashCode()
Testing: sdk/DTO/AttributeDefinition.cs#L137
'CascadeOptions' overrides Object.Equals(object o) but does not override Object.GetHashCode()
Testing: src/Authentication/EasyAuthForwardedAuth.cs#L14
'ISystemClock' is obsolete: 'Use TimeProvider instead.'
Testing: src/Services/Default/DefaultEventSink.cs#L73
'ISystemClock' is obsolete: 'Use TimeProvider instead.'
Testing: src/Services/Default/DefaultEventSink.cs#L82
'ISystemClock' is obsolete: 'Use TimeProvider instead.'
Testing: src/Endpoints/Results/Status202AcceptedResult.cs#L13
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.
Testing: src/Authentication/CryptographyHelpers.cs#L11
'RNGCryptoServiceProvider' is obsolete: 'RNGCryptoServiceProvider is obsolete. To generate a random number, use one of the RandomNumberGenerator static methods instead.' (https://aka.ms/dotnet-warnings/SYSLIB0023)
Testing: src/Authentication/CryptographyHelpers.cs#L88
'Rfc2898DeriveBytes.Rfc2898DeriveBytes(string, byte[])' is obsolete: 'The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.' (https://aka.ms/dotnet-warnings/SYSLIB0041)
Testing: src/Logging/Logging.cs#L13
'JsonSerializerOptions.IgnoreNullValues' is obsolete: 'JsonSerializerOptions.IgnoreNullValues is obsolete. To ignore null values when serializing, set DefaultIgnoreCondition to JsonIgnoreCondition.WhenWritingNull.' (https://aka.ms/dotnet-warnings/SYSLIB0020)
Testing: src/Infrastructure/ObjectSerializer.cs#L80
'JsonSerializerOptions.IgnoreNullValues' is obsolete: 'JsonSerializerOptions.IgnoreNullValues is obsolete. To ignore null values when serializing, set DefaultIgnoreCondition to JsonIgnoreCondition.WhenWritingNull.' (https://aka.ms/dotnet-warnings/SYSLIB0020)