Skip to content

Revert to 203 DPI when no pdfOptions are specified; update CI tests (… #95

Revert to 203 DPI when no pdfOptions are specified; update CI tests (…

Revert to 203 DPI when no pdfOptions are specified; update CI tests (… #95

Re-run triggered June 26, 2024 09:21
Status Success
Total duration 5m 30s
Artifacts 11

dotnet.yml

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

Annotations

20 warnings
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/ZplOptions.cs#L27
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
SonarCloud: PDFtoZPL/ZplOptions.cs#L12
This method signature overlaps the one defined on line 21, the default parameter value can only be used with named arguments. (https://rules.sonarsource.com/csharp/RSPEC-3427)
SonarCloud: PDFtoZPL/ConversionUtils.cs#L14
Initialize all 'static fields' inline and remove the 'static constructor'. (https://rules.sonarsource.com/csharp/RSPEC-3963)
SonarCloud: PDFtoZPL/DitheringUtils.cs#L24
Make sure that using "unsafe" is safe here. (https://rules.sonarsource.com/csharp/RSPEC-6640)
SonarCloud: PDFtoZPL/PdfOptions.cs#L22
This method signature overlaps the one defined on line 37, the default parameter value can only be used with named arguments. (https://rules.sonarsource.com/csharp/RSPEC-3427)
SonarCloud: PDFtoZPL/DitheringUtils.cs#L91
Make sure that using "unsafe" is safe here. (https://rules.sonarsource.com/csharp/RSPEC-6640)
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/DitheringUtils.cs#L122
Make sure that using "unsafe" is safe here. (https://rules.sonarsource.com/csharp/RSPEC-6640)
SonarCloud: PDFtoZPL/Conversion.cs#L115
Split this method into two, one handling parameters check and the other handling the iterator. (https://rules.sonarsource.com/csharp/RSPEC-4456)
SonarCloud: PDFtoZPL/Conversion.cs#L140
Split this method into two, one handling parameters check and the other handling the iterator. (https://rules.sonarsource.com/csharp/RSPEC-4456)
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
Test results (windows-2019) Expired
182 KB