Skip to content

feat: add Prototype

feat: add Prototype #8

Triggered via push June 6, 2024 22:11
Status Success
Total duration 38s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

14 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v2, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
No files were found with the provided path: src/**/coverage.cobertura.xml. No artifacts will be uploaded.
build
No files were found with the provided path: src/**/TestResults/*.trx. No artifacts will be uploaded.
build: src/Creational/Prototype/Prototype.cs#L30
Dereference of a possibly null reference.
build: src/Creational/Builder/InsurancePolicy.cs#L5
Non-nullable property 'PolicyType' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Creational/Prototype/InsurancePolicy.cs#L5
Non-nullable property 'PolicyType' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Creational/FactoryMethod/FactoryMethod.cs#L26
Converting null literal or possible null value to non-nullable type.
build: src/DesignPatterns.Creational.Tests/Prototype/InsurancePolicyPrototypeTests.cs#L25
Dereference of a possibly null reference.
build: src/Creational/Prototype/Prototype.cs#L30
Dereference of a possibly null reference.
build: src/Creational/Builder/InsurancePolicy.cs#L5
Non-nullable property 'PolicyType' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Creational/Prototype/InsurancePolicy.cs#L5
Non-nullable property 'PolicyType' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Creational/FactoryMethod/FactoryMethod.cs#L26
Converting null literal or possible null value to non-nullable type.
build: src/DesignPatterns.Creational.Tests/Prototype/InsurancePolicyPrototypeTests.cs#L25
Dereference of a possibly null reference.