Skip to content

⬆️ Bump the nuget-dependencies group with 2 updates #509

⬆️ Bump the nuget-dependencies group with 2 updates

⬆️ Bump the nuget-dependencies group with 2 updates #509

Triggered via pull request September 22, 2024 10:13
Status Failure
Total duration 41s
Artifacts

test.yml

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

Annotations

3 errors and 2 warnings
GenericClassShouldGenerateCodeCorrectly
VerifyException : Directory: /home/runner/work/builderbuilder/builderbuilder/tests/BuilderGenerator.Tests/Snapshots NotEqual: - Received: BuilderGeneratorSnapshotTests.GenericClassShouldGenerateCodeCorrectly.received.txt Verified: BuilderGeneratorSnapshotTests.GenericClassShouldGenerateCodeCorrectly.verified.txt Equal: - Received: BuilderGeneratorSnapshotTests.GenericClassShouldGenerateCodeCorrectly#BuildableAttribute.g.received.cs Verified: BuilderGeneratorSnapshotTests.GenericClassShouldGenerateCodeCorrectly#BuildableAttribute.g.verified.cs - Received: BuilderGeneratorSnapshotTests.GenericClassShouldGenerateCodeCorrectly#FooBuilder.g.received.cs Verified: BuilderGeneratorSnapshotTests.GenericClassShouldGenerateCodeCorrectly#FooBuilder.g.verified.cs FileContent: NotEqual: Received: BuilderGeneratorSnapshotTests.GenericClassShouldGenerateCodeCorrectly.received.txt { Diagnostics: [ { Message: Successfully generated source for builder with name `Foo`, Severity: Info, WarningLevel: 1, Descriptor: { Id: BB002, Title: Successfully generated source for builder, MessageFormat: Successfully generated source for builder with name `{0}`, Category: Compilation, DefaultSeverity: Info, IsEnabledByDefault: true } } ] } Verified: BuilderGeneratorSnapshotTests.GenericClassShouldGenerateCodeCorrectly.verified.txt { Diagnostics: [ { Id: BB002, Title: Successfully generated source for builder, Severity: Info, WarningLevel: 1, MessageFormat: Successfully generated source for builder with name `{0}`, Message: Successfully generated source for builder with name `Foo`, Category: Compilation } ] }
NoNamespaceShouldGenerateCodeCorrectly
VerifyException : Directory: /home/runner/work/builderbuilder/builderbuilder/tests/BuilderGenerator.Tests/Snapshots NotEqual: - Received: BuilderGeneratorSnapshotTests.NoNamespaceShouldGenerateCodeCorrectly.received.txt Verified: BuilderGeneratorSnapshotTests.NoNamespaceShouldGenerateCodeCorrectly.verified.txt Equal: - Received: BuilderGeneratorSnapshotTests.NoNamespaceShouldGenerateCodeCorrectly#BuildableAttribute.g.received.cs Verified: BuilderGeneratorSnapshotTests.NoNamespaceShouldGenerateCodeCorrectly#BuildableAttribute.g.verified.cs - Received: BuilderGeneratorSnapshotTests.NoNamespaceShouldGenerateCodeCorrectly#PointBuilder.g.received.cs Verified: BuilderGeneratorSnapshotTests.NoNamespaceShouldGenerateCodeCorrectly#PointBuilder.g.verified.cs FileContent: NotEqual: Received: BuilderGeneratorSnapshotTests.NoNamespaceShouldGenerateCodeCorrectly.received.txt { Diagnostics: [ { Message: Successfully generated source for builder with name `Point`, Severity: Info, WarningLevel: 1, Descriptor: { Id: BB002, Title: Successfully generated source for builder, MessageFormat: Successfully generated source for builder with name `{0}`, Category: Compilation, DefaultSeverity: Info, IsEnabledByDefault: true } } ] } Verified: BuilderGeneratorSnapshotTests.NoNamespaceShouldGenerateCodeCorrectly.verified.txt { Diagnostics: [ { Id: BB002, Title: Successfully generated source for builder, Severity: Info, WarningLevel: 1, MessageFormat: Successfully generated source for builder with name `{0}`, Message: Successfully generated source for builder with name `Point`, Category: Compilation } ] }
test-ubuntu-latest
Process completed with exit code 1.
test-ubuntu-latest: src/BuilderGenerator/BuilderGenerator.cs#L89
Modify 'Execute' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
test-ubuntu-latest: src/BuilderGenerator/BuilderGenerator.cs#L89
Modify 'Execute' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)