Skip to content

Build CNS.Auth.Web

Build CNS.Auth.Web #8

Manually triggered July 7, 2024 19:27
Status Success
Total duration 40s
Artifacts 1

cns-pr.yml

on: workflow_dispatch
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "CNSProxy". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
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, actions/upload-artifact@v2.2.4. 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, actions/upload-artifact@v2.2.4. 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'.

Artifacts

Produced during runtime
Name Size
CNSProxy Expired
35.3 MB