Skip to content

Update sonarcloud.yml #9

Update sonarcloud.yml

Update sonarcloud.yml #9

Triggered via push March 26, 2024 17:55
Status Failure
Total duration 1m 1s
Artifacts

sonarcloud.yml

on: push
build-and-analyze
51s
build-and-analyze
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
build-and-analyze
Process completed with exit code 1.
build-and-analyze
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1, actions/setup-java@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-and-analyze
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, actions/setup-java@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-and-analyze: BlobScanFunctionApp/Blob2Scan.cs#L46
Reuse client instances rather than creating new ones with each function invocation.
build-and-analyze: BlobScanFunctionApp/Blob2Scan.cs#L30
Replace this use of 'Task.Result' with 'await'. Do not perform blocking operations in Azure Functions.
build-and-analyze: BlobScanFunctionApp/Blob2Scan.cs#L60
Logging in a catch clause should pass the caught exception as a parameter.
build-and-analyze: BlobScanFunctionApp/Blob2Scan.cs#L15
Don't use string interpolation in logging message templates.
build-and-analyze: BlobScanFunctionApp/Blob2Scan.cs#L22
Don't use string interpolation in logging message templates.
build-and-analyze: BlobScanFunctionApp/Blob2Scan.cs#L35
Don't use string interpolation in logging message templates.
build-and-analyze: BlobScanFunctionApp/Blob2Scan.cs#L38
Don't use string interpolation in logging message templates.
build-and-analyze: BlobScanFunctionApp/Blob2Scan.cs#L41
Don't use string interpolation in logging message templates.
build-and-analyze: BlobScanFunctionApp/Blob2Scan.cs#L45
Don't use string interpolation in logging message templates.
build-and-analyze: BlobScanFunctionApp/Blob2Scan.cs#L50
Don't use string interpolation in logging message templates.