Skip to content

Install NET8 and update actions #370

Install NET8 and update actions

Install NET8 and update actions #370

Triggered via push November 15, 2023 06:16
Status Failure
Total duration 2m 52s
Artifacts

dotnetcore.yml

on: push
Matrix: build
Push NuGet Packages
0s
Push NuGet Packages
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 12 warnings
build (Release): Analogy.Interfaces/AnalogyLogMessageCustomEqualityOptedInComparer.cs#L202
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
build (Release): Analogy.Interfaces/AnalogyLogMessageCustomEqualityComparer.cs#L173
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
build (Release): Analogy.Interfaces/DataTypes/LogParserSettings.cs#L37
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build (Release): Analogy.Interfaces/DataTypes/AnalogyLogMessage.cs#L283
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
build (Release): Analogy.Interfaces/DataTypes/AnalogyLogMessage.cs#L418
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
build (Release): Analogy.Interfaces/AnalogyLogMessageCustomEqualityOptedInComparer.cs#L202
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
build (Release): Analogy.Interfaces/AnalogyLogMessageCustomEqualityComparer.cs#L173
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
build (Release): Analogy.Interfaces/DataTypes/AnalogyLogMessage.cs#L283
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
build (Release): Analogy.Interfaces/DataTypes/LogParserSettings.cs#L37
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build (Release): Analogy.Interfaces/DataTypes/AnalogyLogMessage.cs#L418
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
build (Debug)
The operation was canceled.
build (Release)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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 (Release): Analogy.Interfaces/AnalogyLogMessageCustomEqualityComparer.cs#L108
Possible null reference argument for parameter 'first' in 'bool Enumerable.SequenceEqual<KeyValuePair<string, string>>(IEnumerable<KeyValuePair<string, string>> first, IEnumerable<KeyValuePair<string, string>> second)'.
build (Release): Analogy.Interfaces/AnalogyLogMessageCustomEqualityComparer.cs#L108
Possible null reference argument for parameter 'second' in 'bool Enumerable.SequenceEqual<KeyValuePair<string, string>>(IEnumerable<KeyValuePair<string, string>> first, IEnumerable<KeyValuePair<string, string>> second)'.
build (Release): Analogy.Interfaces/AnalogyLogMessageCustomEqualityOptedInComparer.cs#L137
Possible null reference argument for parameter 'first' in 'bool Enumerable.SequenceEqual<KeyValuePair<string, string>>(IEnumerable<KeyValuePair<string, string>> first, IEnumerable<KeyValuePair<string, string>> second)'.
build (Release): Analogy.Interfaces/AnalogyLogMessageCustomEqualityOptedInComparer.cs#L137
Possible null reference argument for parameter 'second' in 'bool Enumerable.SequenceEqual<KeyValuePair<string, string>>(IEnumerable<KeyValuePair<string, string>> first, IEnumerable<KeyValuePair<string, string>> second)'.
build (Release): Analogy.Interfaces/DataTypes/AnalogyLogMessage.cs#L14
Use 'Environment.ProcessId' instead of 'Process.GetCurrentProcess().Id' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1837)
build (Release): Analogy.Interfaces/DataTypes/AnalogyLogMessage.cs#L172
Use 'Environment.CurrentManagedThreadId' instead of 'Thread.CurrentThread.ManagedThreadId' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1840)
build (Release): Analogy.Interfaces/DataTypes/AnalogyLogMessage.cs#L194
Use 'Environment.CurrentManagedThreadId' instead of 'Thread.CurrentThread.ManagedThreadId' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1840)
build (Release): Analogy.Interfaces/AnalogyLogMessageCustomEqualityOptedInComparer.cs#L137
Possible null reference argument for parameter 'first' in 'bool Enumerable.SequenceEqual<KeyValuePair<string, string>>(IEnumerable<KeyValuePair<string, string>> first, IEnumerable<KeyValuePair<string, string>> second)'.
build (Release): Analogy.Interfaces/AnalogyLogMessageCustomEqualityOptedInComparer.cs#L137
Possible null reference argument for parameter 'second' in 'bool Enumerable.SequenceEqual<KeyValuePair<string, string>>(IEnumerable<KeyValuePair<string, string>> first, IEnumerable<KeyValuePair<string, string>> second)'.
build (Release): Analogy.Interfaces/AnalogyLogMessageCustomEqualityComparer.cs#L108
Possible null reference argument for parameter 'first' in 'bool Enumerable.SequenceEqual<KeyValuePair<string, string>>(IEnumerable<KeyValuePair<string, string>> first, IEnumerable<KeyValuePair<string, string>> second)'.
build (Debug)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/