Skip to content

Build CNS.Auth.Web

Build CNS.Auth.Web #7

Manually triggered July 7, 2024 19:19
Status Success
Total duration 23s
Artifacts

cns-pr.yml

on: workflow_dispatch
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1.8.2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-dotnet@v1.8.2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build: WebApps/CNS.Auth.Web/Services/SAMLService.cs#L211
'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.'
Build: WebApps/CNS.Auth.Web/Services/CNSCertificateService.cs#L194
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: WebApps/CNS.Auth.Web/Startup.cs#L111
Calling 'BuildServiceProvider' from application code results in an additional copy of singleton services being created. Consider alternatives such as dependency injecting services as parameters to 'Configure'.