Cuemon CI/CD Pipeline #240
pipelines.yml
on: workflow_dispatch
🐧 Prepare Linux
2m 51s
🪟 Prepare Windows
4m 41s
Matrix: 🛠️ Build
Matrix: 🧪 Test
Matrix: 📦 Pack
🔬 Code Quality Analysis
8m 44s
🛡️ Security Analysis
6m 23s
🚀 Deploy v9.0.1
11s
Deployment protection rules
Reviewers, timers, and other rules protecting deployments in this run
| Event | Environments |
|---|---|
|
gimlichael
approved
|
Production |
Annotations
26 warnings
|
🧪 Test (windows-2022, Release, test/Cuemon.Core.Tests/Cuemon.Core.Tests.csproj):
src/Cuemon.Extensions.Core/Runtime/Serialization/HierarchySerializer.cs#L44
The behavior of 'StringBuilder.AppendLine(ref StringBuilder.AppendInterpolatedStringHandler)' could vary based on the current user's locale settings. Replace this call in 'HierarchySerializer.ToString(StringBuilder, IHierarchy<object>)' with a call to 'StringBuilder.AppendLine(IFormatProvider, ref StringBuilder.AppendInterpolatedStringHandler)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
🧪 Test (windows-2022, Release, test/Cuemon.Core.Tests/Cuemon.Core.Tests.csproj):
src/Cuemon.Extensions.Core/Runtime/Serialization/HierarchySerializer.cs#L44
The behavior of 'StringBuilder.AppendLine(ref StringBuilder.AppendInterpolatedStringHandler)' could vary based on the current user's locale settings. Replace this call in 'HierarchySerializer.ToString(StringBuilder, IHierarchy<object>)' with a call to 'StringBuilder.AppendLine(IFormatProvider, ref StringBuilder.AppendInterpolatedStringHandler)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
🧪 Test (windows-2022, Release, test/Cuemon.Core.Tests/Cuemon.Core.Tests.csproj):
src/Cuemon.Extensions.Core/Runtime/Serialization/HierarchySerializer.cs#L44
The behavior of 'StringBuilder.AppendLine(ref StringBuilder.AppendInterpolatedStringHandler)' could vary based on the current user's locale settings. Replace this call in 'HierarchySerializer.ToString(StringBuilder, IHierarchy<object>)' with a call to 'StringBuilder.AppendLine(IFormatProvider, ref StringBuilder.AppendInterpolatedStringHandler)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
🧪 Test (windows-2022, Release, test/Cuemon.Core.Tests/Cuemon.Core.Tests.csproj):
src/Cuemon.Extensions.Core/Runtime/Serialization/HierarchySerializer.cs#L44
The behavior of 'StringBuilder.AppendLine(ref StringBuilder.AppendInterpolatedStringHandler)' could vary based on the current user's locale settings. Replace this call in 'HierarchySerializer.ToString(StringBuilder, IHierarchy<object>)' with a call to 'StringBuilder.AppendLine(IFormatProvider, ref StringBuilder.AppendInterpolatedStringHandler)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
🛡️ Security Analysis:
src/Cuemon.Data.SqlClient/SqlDataManager.cs#L228
'SqlException' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
|
|
🛡️ Security Analysis:
src/Cuemon.Data.SqlClient/SqlDataManager.cs#L199
'SqlParameter' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
|
|
🛡️ Security Analysis:
src/Cuemon.Data.SqlClient/SqlDataManager.cs#L186
'SqlConnection' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
|
|
🛡️ Security Analysis:
src/Cuemon.Data.SqlClient/SqlDataManager.cs#L186
'SqlCommand' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
|
|
🛡️ Security Analysis:
src/Cuemon.Data.SqlClient/SqlInOperator.cs#L29
'SqlParameter' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
|
|
🛡️ Security Analysis:
src/Cuemon.Data.SqlClient/SqlDataManager.cs#L225
'SqlException' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
|
|
🛡️ Security Analysis:
src/Cuemon.Data.SqlClient/SqlDataManager.cs#L209
'SqlParameter' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
|
|
🛡️ Security Analysis:
src/Cuemon.Data.SqlClient/SqlDataManager.cs#L195
'SqlCommand' is obsolete: 'Use the Microsoft.Data.SqlClient package instead.'
|
|
🛡️ Security Analysis:
src/Cuemon.Extensions.Core/Runtime/Serialization/HierarchySerializer.cs#L44
The behavior of 'StringBuilder.AppendLine(ref StringBuilder.AppendInterpolatedStringHandler)' could vary based on the current user's locale settings. Replace this call in 'HierarchySerializer.ToString(StringBuilder, IHierarchy<object>)' with a call to 'StringBuilder.AppendLine(IFormatProvider, ref StringBuilder.AppendInterpolatedStringHandler)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
🛡️ Security Analysis:
src/Cuemon.Extensions.Core/Runtime/Serialization/HierarchySerializer.cs#L44
The behavior of 'StringBuilder.AppendLine(ref StringBuilder.AppendInterpolatedStringHandler)' could vary based on the current user's locale settings. Replace this call in 'HierarchySerializer.ToString(StringBuilder, IHierarchy<object>)' with a call to 'StringBuilder.AppendLine(IFormatProvider, ref StringBuilder.AppendInterpolatedStringHandler)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
🛡️ Security Analysis
Unable to validate code scanning workflow: MissingPushHook
|
|
🛡️ Security Analysis
1 issue was detected with this workflow: Please specify an on.push hook to analyze and see code scanning alerts from the default branch on the Security tab.
|
|
🔬 Code Quality Analysis:
src/Cuemon.Core/Extensions/DoubleDecoratorExtensions.cs#L31
Do not check floating point equality with exact values, use a range instead. (https://rules.sonarsource.com/csharp/RSPEC-1244)
|
|
🔬 Code Quality Analysis:
src/Cuemon.Core/Text/ParserFactory.cs#L340
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
|
🔬 Code Quality Analysis:
src/Cuemon.Core/DateSpan.cs#L166
This loop's stop condition tests 'nextWeek' and 'totalDays' but the incrementer updates 'weeks'. (https://rules.sonarsource.com/csharp/RSPEC-1994)
|
|
🔬 Code Quality Analysis:
src/Cuemon.Core/Extensions/Collections/Generic/DictionaryDecoratorExtensions.cs#L112
Use a comparison to 'default(TKey)' instead or add a constraint to 'TKey' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
|
|
🔬 Code Quality Analysis:
src/Cuemon.Core/Extensions/Collections/Generic/DictionaryDecoratorExtensions.cs#L107
Use a comparison to 'default(TKey)' instead or add a constraint to 'TKey' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
|
|
🔬 Code Quality Analysis:
src/Cuemon.Core/Generate.cs#L31
Make sure that using this pseudorandom number generator is safe here. (https://rules.sonarsource.com/csharp/RSPEC-2245)
|
|
🔬 Code Quality Analysis:
src/Cuemon.Core/Calculator.cs#L308
Define a constant instead of using this literal 'Cannot apply assignment operator '***0***' (x >> y) to operands of type '***1***'.' 6 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
|
🔬 Code Quality Analysis:
src/Cuemon.Core/Calculator.cs#L300
Define a constant instead of using this literal 'Cannot apply assignment operator '***0***' (x << y) to operands of type '***1***'.' 6 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
|
🔬 Code Quality Analysis:
src/Cuemon.Core/Extensions/DateTimeDecoratorExtensions.cs#L15
Use "DateTime.UnixEpoch" instead of creating DateTime instances that point to the unix epoch time (https://rules.sonarsource.com/csharp/RSPEC-6588)
|
|
🔬 Code Quality Analysis:
src/Cuemon.Core/Validator.cs#L237
Define a constant instead of using this literal 'Value is not in a valid state.' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
CoverageReport-Release-Windows-f77088d7453a765d112dcfe8149e38be95fc85baea0f8507f61e27d32bf995da
Expired
|
10.4 MB |
sha256:d15953e93ef7d207e8f72c9f877867ab84ed704c46f58540fd70a206a1dc332b
|
|
|
TestResults-Release-Windows-f77088d7453a765d112dcfe8149e38be95fc85baea0f8507f61e27d32bf995da
Expired
|
1.54 MB |
sha256:a1099c0c37319778b30ecce1587dadad8f4f0f82ed2d3b33e9c5fbb05c211cdb
|
|