Skip to content

Added method for creating base parameters consistently. #45

Added method for creating base parameters consistently.

Added method for creating base parameters consistently. #45

Triggered via push July 31, 2024 02:43
Status Failure
Total duration 34s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: src/Weatherstack/Service/Extensions/CreateBaseParameters.cs#L12
'IWeatherstackService' does not contain a definition for 'GetToken' and no accessible extension method 'GetToken' accepting a first argument of type 'IWeatherstackService' could be found (are you missing a using directive or an assembly reference?)
build: src/Weatherstack/Service/Extensions/Validate.cs#L43
'InvalidOperationException' does not contain a definition for 'ThrowIfNull'
build: src/Weatherstack/Locations/LocationLookupEndpoint.cs#L18
'LocationLookupEndpoint' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812)
build: src/Weatherstack/Service/Extensions/CreateBaseParameters.cs#L12
'IWeatherstackService' does not contain a definition for 'GetToken' and no accessible extension method 'GetToken' accepting a first argument of type 'IWeatherstackService' could be found (are you missing a using directive or an assembly reference?)
build: src/Weatherstack/Locations/LocationLookupEndpoint.cs#L18
'LocationLookupEndpoint' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812)
build: src/Weatherstack/Service/Extensions/CreateBaseParameters.cs#L12
'IWeatherstackService' does not contain a definition for 'GetToken' and no accessible extension method 'GetToken' accepting a first argument of type 'IWeatherstackService' could be found (are you missing a using directive or an assembly reference?)
build: src/Weatherstack/Service/Extensions/Validate.cs#L43
'InvalidOperationException' does not contain a definition for 'ThrowIfNull'
build: src/Weatherstack/Locations/LocationLookupEndpoint.cs#L18
'LocationLookupEndpoint' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812)
build: src/Weatherstack/Service/Extensions/CreateBaseParameters.cs#L12
'IWeatherstackService' does not contain a definition for 'GetToken' and no accessible extension method 'GetToken' accepting a first argument of type 'IWeatherstackService' could be found (are you missing a using directive or an assembly reference?)
build: src/Weatherstack/Service/Extensions/Validate.cs#L43
'InvalidOperationException' does not contain a definition for 'ThrowIfNull'
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@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/