Skip to content

Update dependency xunit to 2.9.3 #1745

Update dependency xunit to 2.9.3

Update dependency xunit to 2.9.3 #1745

Triggered via pull request August 8, 2025 14:01
Status Failure
Total duration 4m 28s
Artifacts

dotnet-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error, 20 warnings, and 1 notice
test-codebase
Process completed with exit code 1.
test-codebase: src/UniGetUI.Core.Tools/SerializationHelpers.cs#L63
Possible null reference argument for parameter 'item' in 'void List<object>.Add(object item)'.
test-codebase: src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L11
Type 'TestClass' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
test-codebase: src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L21
Member 'SlowMethod3' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
test-codebase: src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L15
Member 'SlowMethod2' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
test-codebase: src/UniGetUI.Core.Settings.Tests/SettingsTest.cs#L45
Public method 'Dispose' on test class 'SettingsTest' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
test-codebase: src/UniGetUI.Core.Settings.Tests/SettingsTest.cs#L52
Avoid multiple blank lines (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide2000)
test-codebase: src/UniGetUI.Core.Settings.Tests/SettingsTest.cs#L178
Dereference of a possibly null reference.
test-codebase: src/UniGetUI.Core.Settings/SettingsEngine_Dictionaries.cs#L34
Possible null reference return.
test-codebase: src/UniGetUI.Core.Data/CoreData.cs#L61
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
test-codebase: src/UniGetUI.Core.Classes/TaskRecycler.cs#L95
Avoid multiple blank lines (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide2000)
test-codebase: src/UniGetUI.Core.Tools/SerializationHelpers.cs#L63
Possible null reference argument for parameter 'item' in 'void List<object>.Add(object item)'.
test-codebase: src/UniGetUI.Core.Settings/SettingsEngine_Dictionaries.cs#L34
Possible null reference return.
test-codebase: src/WindowsPackageManager.Interop/WindowsPackageManager/WindowsPackageManagerStandardFactory.cs#L40
This call site is reachable on all platforms. 'MarshalGeneric<T>.FromAbi' is only supported on: 'Windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test-codebase: src/WindowsPackageManager.Interop/WindowsPackageManager/WindowsPackageManagerStandardFactory.cs#L29
This call site is reachable on all platforms. 'PInvoke.CoCreateInstance(in Guid, object, CLSCTX, in Guid, out object)' is only supported on: 'windows' 5.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test-codebase: src/WindowsPackageManager.Interop/WindowsPackageManager/WindowsPackageManagerStandardFactory.cs#L39
This call site is reachable on all platforms. 'Marshal.GetIUnknownForObject(object)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test-codebase: src/WindowsPackageManager.Interop/WindowsPackageManager/ClassModel.cs#L21
Non-nullable property 'Clsids' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test-codebase: src/WindowsPackageManager.Interop/WindowsPackageManager/ClassModel.cs#L16
Non-nullable property 'ProjectedClassType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test-codebase: src/WindowsPackageManager.Interop/WindowsPackageManager/ClassModel.cs#L11
Non-nullable property 'InterfaceType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test-codebase: src/UniGetUI.Core.Classes/TaskRecycler.cs#L95
Avoid multiple blank lines (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide2000)
test-codebase: src/UniGetUI.Core.Data/CoreData.cs#L61
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
test-codebase
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677