Skip to content

Support co2_aoer in WattTime #317

Support co2_aoer in WattTime

Support co2_aoer in WattTime #317

Triggered via pull request January 31, 2025 09:46
Status Success
Total duration 6m 57s
Artifacts 2

1-pr.yaml

on: pull_request
Matrix: sln-build-and-test
markdown-linting
3s
markdown-linting
webapp-container-dotnet-build
1m 48s
webapp-container-dotnet-build
webapp-container-validation
50s
webapp-container-validation
dotnet-pack
41s
dotnet-pack
api-comparison
1m 0s
api-comparison
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 42 warnings
markdown-linting
Process completed with exit code 126.
sln-build-and-test (csharp)
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
sln-build-and-test (csharp): src/CarbonAware.DataSources/CarbonAware.DataSources.WattTime/src/Model/GridEmissionsDataResponse.cs#L13
Non-nullable property 'Meta' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
sln-build-and-test (csharp): src/CarbonAware.DataSources/CarbonAware.DataSources.WattTime/src/Model/ForecastEmissionsDataResponse.cs#L13
Non-nullable property 'Meta' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
sln-build-and-test (csharp): src/CarbonAware.DataSources/CarbonAware.DataSources.ElectricityMaps/test/Client/ElectricityMapsClientTests.cs#L328
Possible null reference argument for parameter 'historyCarbonIntensity' in 'CarbonIntensity.explicit operator EmissionsData(CarbonIntensity historyCarbonIntensity)'.
sln-build-and-test (csharp): src/GSF.CarbonAware/test/Configuration/ServiceCollectionExtensionsTests.cs#L30
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
sln-build-and-test (csharp): src/GSF.CarbonAware/test/Configuration/ServiceCollectionExtensionsTests.cs#L59
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
sln-build-and-test (csharp): src/GSF.CarbonAware/test/Configuration/ServiceCollectionExtensionsTests.cs#L81
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
sln-build-and-test (csharp): src/CarbonAware.WebApi/src/Configuration/ServiceCollectionExtensions.cs#L109
Possible null reference argument for parameter 'configuration' in 'ILoggingBuilder LoggingBuilderExtensions.AddConfiguration(ILoggingBuilder builder, IConfiguration configuration)'.
sln-build-and-test (csharp): src/CarbonAware.WebApi/test/unitTests/Configuration/ServiceCollectionExtensionsTests.cs#L26
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
sln-build-and-test (csharp): src/CarbonAware.WebApi/test/unitTests/Configuration/ServiceCollectionExtensionsTests.cs#L45
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
sln-build-and-test (csharp): src/CarbonAware.WebApi/test/unitTests/Configuration/ServiceCollectionExtensionsTests.cs#L63
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
sln-build-and-test (csharp)
1 issue was detected with this workflow: Please specify an on.push hook to analyze and see code scanning alerts from the default branch on the Security tab.
sln-build-and-test (csharp)
Unable to validate code scanning workflow: MissingPushHook
dotnet-pack: src/CarbonAware.DataSources/CarbonAware.DataSources.WattTime/src/Model/GridEmissionsDataResponse.cs#L13
Non-nullable property 'Meta' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
dotnet-pack: src/CarbonAware.DataSources/CarbonAware.DataSources.WattTime/src/Model/ForecastEmissionsDataResponse.cs#L13
Non-nullable property 'Meta' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
dotnet-pack: src/CarbonAware.DataSources/CarbonAware.DataSources.WattTime/src/Model/GridEmissionsDataResponse.cs#L13
Non-nullable property 'Meta' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
dotnet-pack: src/CarbonAware.DataSources/CarbonAware.DataSources.WattTime/src/Model/ForecastEmissionsDataResponse.cs#L13
Non-nullable property 'Meta' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
dotnet-pack
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
dotnet-pack
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
webapp-container-dotnet-build: src/CarbonAware.DataSources/CarbonAware.DataSources.WattTime/src/Model/GridEmissionsDataResponse.cs#L13
Non-nullable property 'Meta' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
webapp-container-dotnet-build: src/CarbonAware.DataSources/CarbonAware.DataSources.WattTime/src/Model/ForecastEmissionsDataResponse.cs#L13
Non-nullable property 'Meta' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
webapp-container-dotnet-build: src/GSF.CarbonAware/test/Configuration/ServiceCollectionExtensionsTests.cs#L30
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
webapp-container-dotnet-build: src/GSF.CarbonAware/test/Configuration/ServiceCollectionExtensionsTests.cs#L59
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
webapp-container-dotnet-build: src/GSF.CarbonAware/test/Configuration/ServiceCollectionExtensionsTests.cs#L81
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
webapp-container-dotnet-build: src/CarbonAware.WebApi/src/Configuration/ServiceCollectionExtensions.cs#L109
Possible null reference argument for parameter 'configuration' in 'ILoggingBuilder LoggingBuilderExtensions.AddConfiguration(ILoggingBuilder builder, IConfiguration configuration)'.
webapp-container-dotnet-build: src/CarbonAware.DataSources/CarbonAware.DataSources.ElectricityMaps/test/Client/ElectricityMapsClientTests.cs#L328
Possible null reference argument for parameter 'historyCarbonIntensity' in 'CarbonIntensity.explicit operator EmissionsData(CarbonIntensity historyCarbonIntensity)'.
webapp-container-dotnet-build: src/CarbonAware.WebApi/test/unitTests/Configuration/ServiceCollectionExtensionsTests.cs#L26
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
webapp-container-dotnet-build: src/CarbonAware.WebApi/test/unitTests/Configuration/ServiceCollectionExtensionsTests.cs#L45
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
webapp-container-dotnet-build: src/CarbonAware.WebApi/test/unitTests/Configuration/ServiceCollectionExtensionsTests.cs#L63
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
webapp-container-dotnet-build
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
webapp-container-dotnet-build
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
api-comparison
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
api-comparison: src/CarbonAware.DataSources/CarbonAware.DataSources.WattTime/src/Model/GridEmissionsDataResponse.cs#L13
Non-nullable property 'Meta' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
api-comparison: src/CarbonAware.DataSources/CarbonAware.DataSources.WattTime/src/Model/ForecastEmissionsDataResponse.cs#L13
Non-nullable property 'Meta' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
api-comparison: src/CarbonAware.DataSources/CarbonAware.DataSources.ElectricityMaps/test/Client/ElectricityMapsClientTests.cs#L328
Possible null reference argument for parameter 'historyCarbonIntensity' in 'CarbonIntensity.explicit operator EmissionsData(CarbonIntensity historyCarbonIntensity)'.
api-comparison: src/GSF.CarbonAware/test/Configuration/ServiceCollectionExtensionsTests.cs#L30
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
api-comparison: src/GSF.CarbonAware/test/Configuration/ServiceCollectionExtensionsTests.cs#L59
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
api-comparison: src/GSF.CarbonAware/test/Configuration/ServiceCollectionExtensionsTests.cs#L81
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
api-comparison: src/CarbonAware.WebApi/src/Configuration/ServiceCollectionExtensions.cs#L109
Possible null reference argument for parameter 'configuration' in 'ILoggingBuilder LoggingBuilderExtensions.AddConfiguration(ILoggingBuilder builder, IConfiguration configuration)'.
api-comparison: src/CarbonAware.WebApi/test/unitTests/Configuration/ServiceCollectionExtensionsTests.cs#L26
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
api-comparison: src/CarbonAware.WebApi/test/unitTests/Configuration/ServiceCollectionExtensionsTests.cs#L45
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
api-comparison: src/CarbonAware.WebApi/test/unitTests/Configuration/ServiceCollectionExtensionsTests.cs#L63
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
api-comparison
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']

Artifacts

Produced during runtime
Name Size Digest
dev-swagger.yaml Expired
3.08 KB
sha256:df13b0f729d2fc7f4f901bf2a7bc51567b6dc4eaec78ec14a39b99d0c874f551
pr-swagger.yaml Expired
3.08 KB
sha256:1bdb12a44749ce439be3696c4b9a4ac876c932c6409caf858b6d0549298e9578