Skip to content

Update GHA workflow #44

Update GHA workflow

Update GHA workflow #44

Triggered via push November 5, 2023 04:18
Status Failure
Total duration 1m 34s
Artifacts

azure-dev.yaml

on: push
Matrix: Build Test
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 13 warnings
Build Test (windows-latest)
Assets file 'D:\a\youtube-summariser\youtube-summariser\src\YouTubeSummariser.ApiApp\obj\project.assets.json' not found. Run a NuGet package restore to generate this file.
Build Test (windows-latest)
Assets file 'D:\a\youtube-summariser\youtube-summariser\src\YouTubeSummariser.Services\obj\project.assets.json' not found. Run a NuGet package restore to generate this file.
Build Test (windows-latest)
Assets file 'D:\a\youtube-summariser\youtube-summariser\src\YouTubeSummariser.Components\obj\project.assets.json' not found. Run a NuGet package restore to generate this file.
Build Test (windows-latest)
Assets file 'D:\a\youtube-summariser\youtube-summariser\src\YouTubeSummariser.WebApp\obj\project.assets.json' not found. Run a NuGet package restore to generate this file.
Build Test (windows-latest)
Process completed with exit code 1.
Build Test (ubuntu-latest): src/YouTubeSummariser.ApiApp2/Program.cs#L22
The type 'YouTubeSummariser.Services.Configurations.OpenAISettings?' cannot be used as type parameter 'TService' in the generic type or method 'ServiceCollectionServiceExtensions.AddSingleton<TService>(IServiceCollection, TService)'. Nullability of type argument 'YouTubeSummariser.Services.Configurations.OpenAISettings?' doesn't match 'class' constraint.
Build Test (ubuntu-latest): src/YouTubeSummariser.ApiApp2/Program.cs#L27
The type 'YouTubeSummariser.Services.Configurations.PromptSettings?' cannot be used as type parameter 'TService' in the generic type or method 'ServiceCollectionServiceExtensions.AddSingleton<TService>(IServiceCollection, TService)'. Nullability of type argument 'YouTubeSummariser.Services.Configurations.PromptSettings?' doesn't match 'class' constraint.
Build Test (ubuntu-latest): src/YouTubeSummariser.ApiApp2/Program.cs#L29
Dereference of a possibly null reference.
Build Test (ubuntu-latest): src/YouTubeSummariser.ApiApp2/Program.cs#L29
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
Build Test (ubuntu-latest): src/YouTubeSummariser.ApiApp2/Program.cs#L30
Possible null reference argument for parameter 'key' in 'AzureKeyCredential.AzureKeyCredential(string key)'.
Build Test (ubuntu-latest): src/YouTubeSummariser.ApiApp2/Controllers/SummariseController.cs#L32
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
Build Test (ubuntu-latest): src/YouTubeSummariser.ApiApp2/Controllers/SummariseController.cs#L38
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogError(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
Build Test (ubuntu-latest): src/YouTubeSummariser.ApiApp2/Controllers/SummariseController.cs#L45
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogError(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
Build Test (ubuntu-latest): src/YouTubeSummariser.ApiApp2/Controllers/SummariseController.cs#L67
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
Build Test (windows-latest)
Targeting .NET 8.0 or higher in Visual Studio 2022 17.7 is not supported.
Build Test (windows-latest)
Targeting .NET 8.0 or higher in Visual Studio 2022 17.7 is not supported.
Build Test (windows-latest)
Targeting .NET 8.0 or higher in Visual Studio 2022 17.7 is not supported.