Skip to content

Merge pull request #20 from CodeBunTes/fix_co2 #13

Merge pull request #20 from CodeBunTes/fix_co2

Merge pull request #20 from CodeBunTes/fix_co2 #13

Triggered via push July 6, 2024 18:14
Status Failure
Total duration 3m 2s
Artifacts

release.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
build
Process completed with exit code 1.
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: src/Umbraco.Community.Sustainability/Services/SustainabilityService.cs#L33
Possible null reference argument for parameter 'json' in 'SustainabilityData? JsonSerializer.Deserialize<SustainabilityData>(string json, JsonSerializerOptions? options = null)'.
build: src/Umbraco.Community.Sustainability/Services/SustainabilityService.cs#L37
Dereference of a possibly null reference.
build: src/Umbraco.Community.Sustainability/Services/SustainabilityService.cs#L33
Possible null reference argument for parameter 'json' in 'SustainabilityData? JsonSerializer.Deserialize<SustainabilityData>(string json, JsonSerializerOptions? options = null)'.
build: src/Umbraco.Community.Sustainability/Services/SustainabilityService.cs#L37
Dereference of a possibly null reference.
build: src/Umbraco.Community.Sustainability/Services/PageMetricService.cs#L40
Possible null reference argument for parameter 'id' in 'IPublishedContent? IPublishedContentQuery.Content(object id)'.
build: src/Umbraco.Community.Sustainability/Models/SustainabilityData.cs#L39
Non-nullable property 'name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Umbraco.Community.Sustainability/Models/SustainabilityData.cs#L40
Non-nullable property 'entryType' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Umbraco.Community.Sustainability/Models/SustainabilityData.cs#L43
Non-nullable property 'initiatorType' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Umbraco.Community.Sustainability/Models/SustainabilityData.cs#L44
Non-nullable property 'deliveryType' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Umbraco.Community.Sustainability/Models/SustainabilityData.cs#L45
Non-nullable property 'nextHopProtocol' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.