Skip to content

Update xunit-dotnet monorepo #3062

Update xunit-dotnet monorepo

Update xunit-dotnet monorepo #3062

Triggered via pull request September 27, 2024 06:24
Status Failure
Total duration 1m 37s
Artifacts

build.yml

on: pull_request
Matrix: build
Matrix: test
Publish Tests Results
2s
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

56 errors and 53 warnings
Build-macOS-latest: Tests/Boxed.Templates.FunctionalTest/ApiTemplateTest.cs#L21
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build-macOS-latest: Tests/Boxed.Templates.FunctionalTest/ApiTemplateTest.cs#L21
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build-macOS-latest: Tests/Boxed.Templates.FunctionalTest/GraphQLTemplateTest.cs#L17
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build-macOS-latest: Tests/Boxed.Templates.FunctionalTest/GraphQLTemplateTest.cs#L17
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build-macOS-latest: Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs#L14
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build-macOS-latest: Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs#L14
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build-macOS-latest: Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs#L37
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-macOS-latest: Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs#L55
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-macOS-latest: Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs#L42
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-macOS-latest: Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs#L60
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 "macOS-latest" failed.
Build-windows-latest
The operation was canceled.
Build-ubuntu-latest
The job was canceled because "macOS-latest" failed.
Build-ubuntu-latest
The operation was canceled.
Test-Orleans-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/ApiTemplateTest.cs#L21
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-Orleans-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/ApiTemplateTest.cs#L21
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-Orleans-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs#L14
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-Orleans-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs#L14
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-Orleans-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/GraphQLTemplateTest.cs#L17
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-Orleans-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/GraphQLTemplateTest.cs#L17
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-Orleans-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs#L37
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)
Test-Orleans-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs#L42
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)
Test-Orleans-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs#L43
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)
Test-Orleans-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.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)
Test-GraphQL-windows-latest
The job was canceled because "Orleans_ubuntu-latest" failed.
Test-GraphQL-windows-latest
The operation was canceled.
Test-Orleans-windows-latest
The job was canceled because "Orleans_ubuntu-latest" failed.
Test-Orleans-windows-latest
The operation was canceled.
Test-NuGet-windows-latest
The job was canceled because "Orleans_ubuntu-latest" failed.
Test-NuGet-windows-latest
The operation was canceled.
Test-API-windows-latest
The job was canceled because "Orleans_ubuntu-latest" failed.
Test-API-windows-latest
The operation was canceled.
Test-GraphQL-ubuntu-latest
The job was canceled because "Orleans_ubuntu-latest" failed.
Test-GraphQL-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/ApiTemplateTest.cs#L21
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-GraphQL-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/ApiTemplateTest.cs#L21
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-GraphQL-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs#L14
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-GraphQL-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs#L14
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-GraphQL-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/GraphQLTemplateTest.cs#L17
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-GraphQL-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/GraphQLTemplateTest.cs#L17
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-GraphQL-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/ApiTemplateTest.cs#L59
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)
Test-GraphQL-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/ApiTemplateTest.cs#L64
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)
Test-GraphQL-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/ApiTemplateTest.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)
Test-GraphQL-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/ApiTemplateTest.cs#L66
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)
Test-API-ubuntu-latest
The job was canceled because "Orleans_ubuntu-latest" failed.
Test-API-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs#L14
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-API-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs#L14
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-API-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/GraphQLTemplateTest.cs#L17
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-API-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/GraphQLTemplateTest.cs#L17
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-API-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/ApiTemplateTest.cs#L21
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-API-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/ApiTemplateTest.cs#L21
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-API-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/NuGetTemplateTest.cs#L38
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)
Test-API-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/NuGetTemplateTest.cs#L43
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)
Test-API-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/NuGetTemplateTest.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)
Test-API-ubuntu-latest: Tests/Boxed.Templates.FunctionalTest/NuGetTemplateTest.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)
Test-NuGet-ubuntu-latest
The job was canceled because "Orleans_ubuntu-latest" failed.
Test-NuGet-ubuntu-latest
The operation was canceled.
Build-macOS-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3.2.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build-macOS-latest: Source/ApiTemplate/Source/ApiTemplate/AppServiceCollectionExtensions.cs#L4
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Build-macOS-latest: Source/ApiTemplate/Source/ApiTemplate/AppServiceCollectionExtensions.cs#L9
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Build-macOS-latest: Source/ApiTemplate/Source/ApiTemplate/Options/ApplicationOptions.cs#L4
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Build-macOS-latest: Source/ApiTemplate/Source/ApiTemplate/Repositories/CarRepository.cs#L7
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Build-macOS-latest: Source/ApiTemplate/Source/ApiTemplate/ViewModels/Connection.cs#L11
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Build-macOS-latest: Source/ApiTemplate/Source/ApiTemplate/TracerProviderBuilderExtensions.cs#L49
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build-macOS-latest: Source/ApiTemplate/Source/ApiTemplate/TracerProviderBuilderExtensions.cs#L49
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Test-Orleans-ubuntu-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3.2.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test-Orleans-ubuntu-latest: Source/NuGetTemplate/Source/NuGetTemplate/Properties/AssemblyInfo.cs#L1
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Test-Orleans-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/AppServiceCollectionExtensions.cs#L5
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Test-Orleans-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/AppServiceCollectionExtensions.cs#L12
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Test-Orleans-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/Options/ApplicationOptions.cs#L4
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Test-Orleans-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/Models/Character.cs#L5
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Test-Orleans-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/Models/Character.cs#L7
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Test-GraphQL-ubuntu-latest: Source/NuGetTemplate/Source/NuGetTemplate/Properties/AssemblyInfo.cs#L1
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Test-GraphQL-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/AppServiceCollectionExtensions.cs#L5
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Test-GraphQL-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/AppServiceCollectionExtensions.cs#L12
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Test-GraphQL-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/Options/ApplicationOptions.cs#L4
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Test-GraphQL-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/Models/Character.cs#L5
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Test-GraphQL-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/Models/Character.cs#L7
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Test-API-ubuntu-latest: Source/NuGetTemplate/Source/NuGetTemplate/Properties/AssemblyInfo.cs#L1
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Test-API-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/Options/ApplicationOptions.cs#L4
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Test-API-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/AppServiceCollectionExtensions.cs#L5
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Test-API-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/AppServiceCollectionExtensions.cs#L12
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Test-API-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/Models/Character.cs#L7
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Test-API-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/Models/Character.cs#L5
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Publish Tests Results
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/download-artifact@v3.0.2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test-NuGet-ubuntu-latest: Source/NuGetTemplate/Source/NuGetTemplate/Properties/AssemblyInfo.cs#L1
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Test-NuGet-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/Options/ApplicationOptions.cs#L4
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Test-NuGet-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/AppServiceCollectionExtensions.cs#L5
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Test-NuGet-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/AppServiceCollectionExtensions.cs#L12
Parentheses can be removed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0047)
Test-NuGet-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/Models/Character.cs#L5
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Test-NuGet-ubuntu-latest: Source/GraphQLTemplate/Source/GraphQLTemplate/Models/Character.cs#L7
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)