Skip to content

Fix SonarCloud workflow #79

Fix SonarCloud workflow

Fix SonarCloud workflow #79

Triggered via push January 31, 2024 17:15
Status Success
Total duration 22m 22s
Artifacts 6

dotnet.yml

on: push
Matrix: test
Publish tests results
10s
Publish tests results
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: GuillaumeFalourd/setup-windows10-sdk-action@main. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
SonarCloud
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
SonarCloud: PDFtoZPL/ConversionUtils.cs#L14
Initialize all 'static fields' inline and remove the 'static constructor'. (https://rules.sonarsource.com/csharp/RSPEC-3963)
SonarCloud: PDFtoZPL/Conversion.cs#L49
Method has 17 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
SonarCloud: PDFtoZPL/DitheringUtils.cs#L24
Make sure that using "unsafe" is safe here. (https://rules.sonarsource.com/csharp/RSPEC-6640)
SonarCloud: PDFtoZPL/ConversionUtils.cs#L68
Change this condition so that it does not always evaluate to 'False'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
SonarCloud: PDFtoZPL/DitheringUtils.cs#L91
Make sure that using "unsafe" is safe here. (https://rules.sonarsource.com/csharp/RSPEC-6640)
SonarCloud: PDFtoZPL/DitheringUtils.cs#L122
Make sure that using "unsafe" is safe here. (https://rules.sonarsource.com/csharp/RSPEC-6640)
SonarCloud: PDFtoZPL/Conversion.cs#L122
Method has 17 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
SonarCloud: PDFtoZPL/ConversionUtils.cs#L81
Refactor this method to reduce its Cognitive Complexity from 62 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
SonarCloud: PDFtoZPL/Conversion.cs#L155
Method has 18 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
SonarCloud: PDFtoZPL/Conversion.cs#L84
Method has 17 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
Publish tests results
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: exuanbo/actions-deploy-gist@main. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
Library assemblies Expired
210 MB
NuGet packages Expired
334 KB
Test assemblies Expired
500 MB
Test results (macos-latest) Expired
98.7 KB
Test results (ubuntu-latest) Expired
99.1 KB
Test results (windows-latest) Expired
191 KB