Skip to content

feat(Algolia): indexing reusable items #45

feat(Algolia): indexing reusable items

feat(Algolia): indexing reusable items #45

Triggered via pull request August 26, 2024 09:27
Status Failure
Total duration 1m 46s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
build: examples/DancingGoat/Search/SearchController.cs#L24
Cannot convert null literal to non-nullable reference type.
build: examples/DancingGoat/Search/SearchController.cs#L24
Cannot convert null literal to non-nullable reference type.
build: examples/DancingGoat/Search/Services/AdvancedSearchService.cs#L18
Cannot convert null literal to non-nullable reference type.
build: examples/DancingGoat/Controllers/DancingGoatProductController.cs#L89
Cannot convert null literal to non-nullable reference type.
build: examples/DancingGoat/DataProtectionSamples/PersonalDataCollectors/Writers/IPersonalDataWriter.cs#L27
Cannot convert null literal to non-nullable reference type.
build: examples/DancingGoat/DataProtectionSamples/PersonalDataCollectors/Writers/XmlPersonalDataWriter.cs#L62
Cannot convert null literal to non-nullable reference type.
build: examples/DancingGoat/Models/Reusable/Product/ProductRepository.cs#L79
Cannot convert null literal to non-nullable reference type.
build: examples/DancingGoat/Models/Reusable/Product/ProductRepository.cs#L79
Cannot convert null literal to non-nullable reference type.
build: examples/DancingGoat/Models/Reusable/Product/ProductRepository.cs#L126
Cannot convert null literal to non-nullable reference type.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: tests/Kentico.Xperience.Algolia.Tests/Tests/IndexStoreTests.cs#L29
Remove the unused local variable 'fixture'. (https://rules.sonarsource.com/csharp/RSPEC-1481)
build: examples/DancingGoat/DataProtectionSamples/PersonalDataCollectors/SampleContactDataCollectorCore.cs#L121
Private classes which are not derived in the current assembly should be marked as 'sealed'. (https://rules.sonarsource.com/csharp/RSPEC-3260)
build: examples/DancingGoat/Resources/SharedResources.cs#L3
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
build: examples/DancingGoat/Components/Widgets/CTAButton/CTAButtonWidgetProperties.cs#L11
Rename class 'CTAButtonWidgetProperties' to match pascal case naming rules, consider using 'CtaButtonWidgetProperties'. (https://rules.sonarsource.com/csharp/RSPEC-101)
build: examples/DancingGoat/Components/Widgets/CTAButton/CTAButtonWidgetViewModel.cs#L6
Rename class 'CTAButtonWidgetViewModel' to match pascal case naming rules, consider using 'CtaButtonWidgetViewModel'. (https://rules.sonarsource.com/csharp/RSPEC-101)
build: examples/DancingGoat/DataProtectionSamples/PersonalDataCollectors/SampleContactDataCollectorCore.cs#L420
All 'WriteConsents' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
build: examples/DancingGoat/Models/WebPage/ProductsSection/ProductSectionRepository.cs#L16
Remove this unread private field 'linkedItemsDependencyRetriever' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
build: examples/DancingGoat/Models/WebPage/SEOSchemaDataRetriever.cs#L8
Rename class 'SEOSchemaModelDataRetriever' to match pascal case naming rules, consider using 'SeoSchemaModelDataRetriever'. (https://rules.sonarsource.com/csharp/RSPEC-101)
build: examples/DancingGoat/Models/Reusable/Product/ProductRepository.cs#L26
Remove this unread private field 'linkedItemsDependencyRetriever' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
build: examples/DancingGoat/Models/WebPage/SEOSchemaDataRetriever.cs#L37
Merge this if statement with the enclosing one. (https://rules.sonarsource.com/csharp/RSPEC-1066)