Skip to content

Use Random.Shared if available. #14178

Use Random.Shared if available.

Use Random.Shared if available. #14178

Triggered via pull request October 22, 2024 12:13
Status Failure
Total duration 17m 39s
Artifacts

build-and-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
build-test
Process completed with exit code 1.
build-test
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/
build-test
The following actions use a deprecated Node.js version 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/
build-test: framework/src/Volo.Abp.Core/Volo/Abp/IO/FileHelper.cs#L74
Avoid inexact read with 'System.IO.Stream.ReadAsync(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
build-test: framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/StringEncryptionService.cs#L33
'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)
build-test: framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/StringEncryptionService.cs#L57
'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)
build-test: framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/StringEncryptionService.cs#L33
'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)
build-test: framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/StringEncryptionService.cs#L57
'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)
build-test: framework/src/Volo.Abp.Authorization.Abstractions/Volo/Abp/Authorization/Permissions/PermissionDefinition.cs#L118
The default value specified for parameter 'displayName' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments
build-test: framework/src/Volo.Abp.Authorization.Abstractions/Volo/Abp/Authorization/Permissions/PermissionDefinition.cs#L119
The default value specified for parameter 'multiTenancySide' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments
build-test: framework/src/Volo.Abp.Authorization.Abstractions/Volo/Abp/Authorization/Permissions/PermissionDefinition.cs#L120
The default value specified for parameter 'isEnabled' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments
build-test: framework/src/Volo.Abp.HangFire/Volo/Abp/Hangfire/AbpHangfireOptions.cs#L39
'BackgroundJobServer.BackgroundJobServer(BackgroundJobServerOptions, JobStorage, IEnumerable<IBackgroundProcess>, IJobFilterProvider, JobActivator, IBackgroundJobFactory, IBackgroundJobPerformer, IBackgroundJobStateChanger)' is obsolete: 'Create your own BackgroundJobServer-like type and pass custom services to it. This constructor will be removed in 2.0.0.'
build-test: framework/src/Volo.Abp.Caching/Volo/Abp/Caching/Hybrid/AbpHybridCacheJsonSerializerFactory.cs#L16
Nullability of reference types in type of parameter 'serializer' of 'bool AbpHybridCacheJsonSerializerFactory.TryCreateSerializer<T>(out IHybridCacheSerializer<T>? serializer)' doesn't match implicitly implemented member 'bool IHybridCacheSerializerFactory.TryCreateSerializer<T>(out IHybridCacheSerializer<T>? serializer)' (possibly because of nullability attributes).