Cuemon CI/CD Pipeline #339
pipelines.yml
on: workflow_dispatch
🐧 Prepare Linux
/
🏷️ Restore
59s
📜 Prepare Test
8s
Matrix: call-build
Matrix: ⚗️ Integration Test
Matrix: call-test-linux
Matrix: call-test-windows
Matrix: call-pack
call-sonarcloud
/
🔬 Code Quality Analysis
4m 43s
call-codecov
/
📊 Code Coverage Analysis
54s
call-codeql
/
🛡️ Security Analysis
17m 15s
call-nuget
/
🚀 Deploy v${{ inputs.version }}
0s
call-nuget
/
🚀 Deploy v10.0.0-rc.1
1h 28m
Deployment protection rules
Reviewers, timers, and other rules protecting deployments in this run
| Event | Environments |
|---|---|
|
gimlichael
rejected
|
Production |
Annotations
1 error and 24 warnings
|
call-nuget / 🚀 Deploy v10.0.0-rc.1
The deployment was rejected or didn't satisfy other protection rules.
|
|
call-test-windows (Debug, test/Cuemon.Core.Tests/Cuemon.Core.Tests.csproj) / 🧪 Test:
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)
|
|
call-test-windows (Debug, test/Cuemon.Core.Tests/Cuemon.Core.Tests.csproj) / 🧪 Test:
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)
|
|
call-test-windows (Debug, test/Cuemon.Core.Tests/Cuemon.Core.Tests.csproj) / 🧪 Test:
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)
|
|
call-test-windows (Debug, test/Cuemon.Core.Tests/Cuemon.Core.Tests.csproj) / 🧪 Test:
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)
|
|
call-sonarcloud / 🔬 Code Quality Analysis:
src/Cuemon.Core/Extensions/DoubleDecoratorExtensions.cs#L46
Do not check floating point equality with exact values, use a range instead. (https://rules.sonarsource.com/csharp/RSPEC-1244)
|
|
call-sonarcloud / 🔬 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)
|
|
call-sonarcloud / 🔬 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)
|
|
call-sonarcloud / 🔬 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)
|
|
call-sonarcloud / 🔬 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)
|
|
call-sonarcloud / 🔬 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)
|
|
call-sonarcloud / 🔬 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)
|
|
call-sonarcloud / 🔬 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)
|
|
call-sonarcloud / 🔬 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)
|
|
call-sonarcloud / 🔬 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)
|
|
call-codeql / 🛡️ Security Analysis:
src/Cuemon.Extensions.IO/ByteArrayExtensions.cs#L43
Change the 'WriteAsync' method call to use the 'Stream.WriteAsync(ReadOnlyMemory<byte>, CancellationToken)' overload (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1835)
|
|
call-codeql / 🛡️ Security Analysis:
src/Cuemon.Extensions.IO/StringExtensions.cs#L53
Change the 'WriteAsync' method call to use the 'Stream.WriteAsync(ReadOnlyMemory<byte>, CancellationToken)' overload (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1835)
|
|
call-codeql / 🛡️ 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)
|
|
call-codeql / 🛡️ 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)
|
|
call-codeql / 🛡️ Security Analysis:
src/Cuemon.Extensions.IO/ByteArrayExtensions.cs#L43
Change the 'WriteAsync' method call to use the 'Stream.WriteAsync(ReadOnlyMemory<byte>, CancellationToken)' overload (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1835)
|
|
call-codeql / 🛡️ Security Analysis:
src/Cuemon.Extensions.IO/StringExtensions.cs#L53
Change the 'WriteAsync' method call to use the 'Stream.WriteAsync(ReadOnlyMemory<byte>, CancellationToken)' overload (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1835)
|
|
call-codeql / 🛡️ 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)
|
|
call-codeql / 🛡️ 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)
|
|
call-codeql / 🛡️ Security Analysis
Unable to validate code scanning workflow: MissingPushHook
|
|
call-codeql / 🛡️ 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.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
CoverageReport-Debug-Windows-f77088d7453a765d112dcfe8149e38be95fc85baea0f8507f61e27d32bf995da
Expired
|
10.5 MB |
sha256:05f762fcb2c87c55119fc2dc6c66b20912355ed87b2a43075d75ae6f5685c4fe
|
|
|
TestResults-Debug-Windows-f77088d7453a765d112dcfe8149e38be95fc85baea0f8507f61e27d32bf995da
Expired
|
1.79 MB |
sha256:9ec8c9e50b419b51e5e7f4cab391f224b61ccb7e64e2f97734bb910b6260f50d
|
|