Skip to content

Switch to PSRule for security analysis #105

Switch to PSRule for security analysis

Switch to PSRule for security analysis #105

Triggered via pull request June 6, 2024 09:03
Status Success
Total duration 6m 12s
Artifacts

dotnet.yml

on: pull_request
build
33s
build
Build and Test for arm64
5m 35s
Build and Test for arm64
Fit to window
Zoom out
Zoom in

Annotations

15 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: dotnet/ServerlessMicroservices.Shared/Filters/B2cValidationAttribute.cs#L17
'FunctionInvocationFilterAttribute' is obsolete: 'Filters is in preview and there may be breaking changes in this area.'
build: dotnet/ServerlessMicroservices.Shared/Filters/B2cValidationAttribute.cs#L19
'FunctionExecutingContext' is obsolete: 'Filters is in preview and there may be breaking changes in this area.'
build: dotnet/ServerlessMicroservices.Shared/Services/ChangeNotifierService.cs#L24
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: dotnet/ServerlessMicroservices.Shared/Services/ChangeNotifierService.cs#L145
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: dotnet/ServerlessMicroservices.Shared/Services/TokenValidationService.cs#L106
The variable 'ex' is declared but never used
build: dotnet/ServerlessMicroservices.Shared/Services/LoggerService.cs#L44
'TelemetryClient.TelemetryClient()' is obsolete: 'We do not recommend using TelemetryConfiguration.Active on .NET Core. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/1152 for more details'
build: dotnet/ServerlessMicroservices.Shared/Services/PowerBIService.cs#L20
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: dotnet/ServerlessMicroservices.Shared/Services/RoutesService.cs#L21
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: dotnet/ServerlessMicroservices.Shared/Services/CosmosPersistenceService.cs#L138
The variable 'cost' is assigned but its value is never used
build: dotnet/ServerlessMicroservices.Shared/Services/SqlPersistenceService.cs#L93
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 for arm64
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, docker/setup-qemu-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build and Test for arm64
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, docker/setup-qemu-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build and Test for arm64
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/