Skip to content

convert to xunit

convert to xunit #91

Triggered via pull request June 4, 2026 04:17
Status Success
Total duration 1m 3s
Artifacts

main.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

31 warnings
build-ubuntu-latest
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4, actions/checkout@v3, actions/setup-dotnet@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build-ubuntu-latest: IPTables.Net.Tests/IpTablesRuleSetTests.cs#L38
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
build-ubuntu-latest: IPTables.Net.Tests/IpTablesRuleSetTests.cs#L24
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
build-ubuntu-latest: IPTables.Net.Tests/IpTablesRuleSetTests.cs#L22
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
build-ubuntu-latest: IPTables.Net.TestFramework/MockIptablesSystemProcess.cs#L152
The event 'MockIptablesSystemProcess.Disposed' is never used
build-ubuntu-latest: IPTables.Net.TestFramework/MockIptablesSystemProcess.cs#L155
The event 'MockIptablesSystemProcess.Exited' is never used
build-ubuntu-latest: IPTables.Net/Supporting/DictionaryExtension.cs#L49
The variable 'secondValue' is declared but never used
build-ubuntu-latest: IPTables.Net/Exceptions/IpTablesNetException.cs#L25
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-ubuntu-latest: IPTables.Net/Iptables/Modules/Core/CoreModule.cs#L10
'CoreModule' overrides Object.Equals(object o) but does not override Object.GetHashCode()
build-ubuntu-latest: IPTables.Net/Iptables/Modules/Netflow/NetflowModule.cs#L8
'NetflowModule' overrides Object.Equals(object o) but does not override Object.GetHashCode()
build-ubuntu-latest: IPTables.Net/IpSet/IpSetEntry.cs#L14
'IpSetEntry' overrides Object.Equals(object o) but does not override Object.GetHashCode()
build-ubuntu-latest: IPTables.Net.Tests/IptcInterfaceTest.cs#L77
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
build-ubuntu-latest: IPTables.Net.Tests/IpTablesRuleSetTests.cs#L24
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
build-ubuntu-latest: IPTables.Net.Tests/IpTablesRuleSetTests.cs#L22
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
build-ubuntu-latest: IPTables.Net.TestFramework/MockIptablesSystemProcess.cs#L152
The event 'MockIptablesSystemProcess.Disposed' is never used
build-ubuntu-latest: IPTables.Net.TestFramework/MockIptablesSystemProcess.cs#L155
The event 'MockIptablesSystemProcess.Exited' is never used
build-ubuntu-latest: IPTables.Net/Supporting/DictionaryExtension.cs#L49
The variable 'secondValue' is declared but never used
build-ubuntu-latest: IPTables.Net/Exceptions/IpTablesNetException.cs#L25
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-ubuntu-latest: IPTables.Net/Iptables/Modules/Core/CoreModule.cs#L10
'CoreModule' overrides Object.Equals(object o) but does not override Object.GetHashCode()
build-ubuntu-latest: IPTables.Net/Iptables/Modules/Netflow/NetflowModule.cs#L8
'NetflowModule' overrides Object.Equals(object o) but does not override Object.GetHashCode()
build-ubuntu-latest: IPTables.Net/IpSet/IpSetEntry.cs#L14
'IpSetEntry' overrides Object.Equals(object o) but does not override Object.GetHashCode()
build-ubuntu-latest: IPTables.Net.Tests/IpTablesSaveReadingTests.cs#L35
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
build-ubuntu-latest: IPTables.Net.Tests/IpTablesRuleSetTests.cs#L24
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
build-ubuntu-latest: IPTables.Net.Tests/IpTablesRuleSetTests.cs#L22
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
build-ubuntu-latest: IPTables.Net.TestFramework/MockIptablesSystemProcess.cs#L152
The event 'MockIptablesSystemProcess.Disposed' is never used
build-ubuntu-latest: IPTables.Net.TestFramework/MockIptablesSystemProcess.cs#L155
The event 'MockIptablesSystemProcess.Exited' is never used
build-ubuntu-latest: IPTables.Net/Supporting/DictionaryExtension.cs#L49
The variable 'secondValue' is declared but never used
build-ubuntu-latest: IPTables.Net/Exceptions/IpTablesNetException.cs#L25
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-ubuntu-latest: IPTables.Net/Iptables/Modules/Core/CoreModule.cs#L10
'CoreModule' overrides Object.Equals(object o) but does not override Object.GetHashCode()
build-ubuntu-latest: IPTables.Net/Iptables/Modules/Netflow/NetflowModule.cs#L8
'NetflowModule' overrides Object.Equals(object o) but does not override Object.GetHashCode()
build-ubuntu-latest: IPTables.Net/IpSet/IpSetEntry.cs#L14
'IpSetEntry' overrides Object.Equals(object o) but does not override Object.GetHashCode()