Skip to content

Update xunit-dotnet monorepo #1201

Update xunit-dotnet monorepo

Update xunit-dotnet monorepo #1201

Triggered via pull request January 8, 2025 17:40
Status Failure
Total duration 1m 37s
Artifacts

build.yml

on: pull_request
Matrix: build
Publish Tests Results
3s
Publish Tests Results
Push GitHub Packages
0s
Push GitHub Packages
Push NuGet Packages
0s
Push NuGet Packages
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 8 warnings
Build-ubuntu-latest: Tests/Boxed.AspNetCore.Test/FriendlyUrlHelperTest.cs#L10
Null should not be used for type parameter 'title' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
Build-ubuntu-latest: Tests/Boxed.AspNetCore.Test/Middleware/RequestCanceledMiddlewareTest.cs#L34
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Build-ubuntu-latest: Tests/Boxed.AspNetCore.Test/Middleware/RequestCanceledMiddlewareTest.cs#L44
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Build-ubuntu-latest: Tests/Boxed.AspNetCore.Test/Middleware/ServerTimingMiddlewareTest.cs#L34
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Build-ubuntu-latest: Tests/Boxed.AspNetCore.Test/Middleware/RequestCanceledMiddlewareTest.cs#L65
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Build-ubuntu-latest: Tests/Boxed.AspNetCore.Test/ApplicationBuilderExtensionsTest.cs#L41
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Build-ubuntu-latest: Tests/Boxed.AspNetCore.Test/Middleware/RequestCanceledMiddlewareTest.cs#L84
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Build-ubuntu-latest: Tests/Boxed.AspNetCore.Test/HttpContextExtensionsTest.cs#L278
The member referenced by the MemberData attribute returns untyped data rows, such as object[]. Consider using TheoryData<> as the return type to provide better type safety. (https://xunit.net/xunit.analyzers/rules/xUnit1042)
Build-ubuntu-latest: Tests/Boxed.AspNetCore.Test/HttpContextExtensionsTest.cs#L291
The member referenced by the MemberData attribute returns untyped data rows, such as object[]. Consider using TheoryData<> as the return type to provide better type safety. (https://xunit.net/xunit.analyzers/rules/xUnit1042)
Build-ubuntu-latest: Tests/Boxed.AspNetCore.Test/Middleware/ServerTimingMiddlewareTest.cs#L45
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
Build-windows-latest
The job was canceled because "ubuntu-latest" failed.
Build-windows-latest
The operation was canceled.
Build-macOS-latest
The job was canceled because "ubuntu-latest" failed.
Build-macOS-latest: Source/Boxed.AspNetCore/Middleware/RequestCanceledMiddleware.cs#L27
Use primary constructor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0290)
Build-macOS-latest: Source/Boxed.AspNetCore/Middleware/HttpExceptionMiddleware.cs#L24
Use primary constructor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0290)
Build-macOS-latest: Source/Boxed.AspNetCore.TagHelpers/HrefSubresourceIntegrityTagHelper.cs#L25
Use primary constructor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0290)
Build-macOS-latest: Source/Boxed.AspNetCore.TagHelpers/SrcSubresourceIntegrityTagHelper.cs#L25
Use primary constructor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0290)
Build-macOS-latest: Source/Boxed.AspNetCore.TagHelpers/OpenGraph/Structs/OpenGraphRating.cs#L13
Use primary constructor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0290)
Build-macOS-latest: Source/Boxed.AspNetCore.TagHelpers/OpenGraph/Structs/OpenGraphLocation.cs#L13
Use primary constructor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0290)
Build-macOS-latest: Source/Boxed.AspNetCore.TagHelpers/OpenGraph/Structs/OpenGraphHours.cs#L16
Use primary constructor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0290)
Build-macOS-latest: Source/Boxed.AspNetCore.TagHelpers/OpenGraph/Structs/OpenGraphDateTimeRange.cs#L15
Use primary constructor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0290)
Build-macOS-latest: Source/Boxed.AspNetCore.TagHelpers/OpenGraph/Media/OpenGraphAudio.cs#L16
Use primary constructor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0290)
Build-macOS-latest: Source/Boxed.AspNetCore.TagHelpers/OpenGraph/Media/OpenGraphSizedMedia.cs#L15
Use primary constructor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0290)
Build-ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build-ubuntu-latest
No files were found with the provided path: ./Artefacts. No artifacts will be uploaded.
Build-windows-latest
No files were found with the provided path: ./Artefacts. No artifacts will be uploaded.
Build-macOS-latest
No files were found with the provided path: ./Artefacts. No artifacts will be uploaded.
Build-macOS-latest
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build-macOS-latest
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build-macOS-latest
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Publish Tests Results
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636