Skip to content

feat: upgrade target framework to net8.0 and update package references #319

feat: upgrade target framework to net8.0 and update package references

feat: upgrade target framework to net8.0 and update package references #319

Triggered via pull request November 30, 2024 08:59
Status Success
Total duration 5m 37s
Artifacts 2

build.yml

on: pull_request
Matrix: build
Push GitHub Packages
0s
Push GitHub Packages
Push NuGet Packages
0s
Push NuGet Packages
Fit to window
Zoom out
Zoom in

Annotations

46 warnings
Build-ubuntu-latest: src/Keycloak.AuthServices.Authorization/ServiceCollectionExtensions.cs#L205
Use AddAuthorizationBuilder to register authorization services and construct policies (https://aka.ms/aspnet/analyzers)
Build-ubuntu-latest: src/Keycloak.AuthServices.Sdk/Admin/IKeycloakGroupClient.cs#L68
Parameter 'parentGroupId' has no matching param tag in the XML comment for 'IKeycloakGroupClient.GetSubGroupsAsync(string, string, GetGroupsRequestParameters?, CancellationToken)' (but other parameters do)
Build-ubuntu-latest: src/Keycloak.AuthServices.Sdk/Admin/Requests/Users/GetUserCountRequestParameters.cs#L4
XML comment has cref attribute 'GetUserCountAsync' that could not be resolved
Build-ubuntu-latest
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Build-ubuntu-latest: samples/Blazor/Client/Shared/LoginDisplay.razor#L5
'SignOutSessionStateManager' is obsolete: 'Use 'Microsoft.AspNetCore.Components.Webassembly.Authentication.NavigationManagerExtensions.NavigateToLogout' instead.'
Build-ubuntu-latest: src/Keycloak.AuthServices.Authorization/ServiceCollectionExtensions.cs#L205
Use AddAuthorizationBuilder to register authorization services and construct policies (https://aka.ms/aspnet/analyzers)
Build-ubuntu-latest: src/Keycloak.AuthServices.Sdk/Admin/IKeycloakGroupClient.cs#L68
Parameter 'parentGroupId' has no matching param tag in the XML comment for 'IKeycloakGroupClient.GetSubGroupsAsync(string, string, GetGroupsRequestParameters?, CancellationToken)' (but other parameters do)
Build-ubuntu-latest: src/Keycloak.AuthServices.Sdk/Admin/Requests/Users/GetUserCountRequestParameters.cs#L4
XML comment has cref attribute 'GetUserCountAsync' that could not be resolved
Build-ubuntu-latest: samples/WebApp/Models/ErrorViewModel.cs#L5
Non-nullable property 'RequestId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build-ubuntu-latest: samples/WebApp/Views/Shared/_LoginPartial.cshtml#L4
Dereference of a possibly null reference.
Build-ubuntu-latest: samples/WebApp/Controllers/AccountController.cs#L1
Remove the underscores from namespace name 'WebApp_OpenIDConnect_DotNet' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
Build-ubuntu-latest: samples/AuthorizationAndCleanArchitecture/Application/Authorization/AuthorizationBehavior.cs#L32
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Build-ubuntu-latest: samples/AuthorizationAndCleanArchitecture/Filters/ApiExceptionFilterAttribute.cs#L34
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
Build-ubuntu-latest
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Build-ubuntu-latest: src/Keycloak.AuthServices.Authorization/ServiceCollectionExtensions.cs#L205
Use AddAuthorizationBuilder to register authorization services and construct policies (https://aka.ms/aspnet/analyzers)
Build-ubuntu-latest: src/Keycloak.AuthServices.Sdk/Admin/IKeycloakGroupClient.cs#L68
Parameter 'parentGroupId' has no matching param tag in the XML comment for 'IKeycloakGroupClient.GetSubGroupsAsync(string, string, GetGroupsRequestParameters?, CancellationToken)' (but other parameters do)
Build-ubuntu-latest: src/Keycloak.AuthServices.Sdk/Admin/Requests/Users/GetUserCountRequestParameters.cs#L4
XML comment has cref attribute 'GetUserCountAsync' that could not be resolved
Build-ubuntu-latest: samples/Blazor/Client/Shared/LoginDisplay.razor#L5
'SignOutSessionStateManager' is obsolete: 'Use 'Microsoft.AspNetCore.Components.Webassembly.Authentication.NavigationManagerExtensions.NavigateToLogout' instead.'
Build-ubuntu-latest: samples/AuthorizationAndCleanArchitecture/Application/Authorization/AuthorizationBehavior.cs#L32
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Build-ubuntu-latest: samples/AuthorizationAndCleanArchitecture/Filters/ApiExceptionFilterAttribute.cs#L34
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
Build-ubuntu-latest: samples/AuthorizationAndCleanArchitecture/Application/Authorization/AuthorizationBehavior.cs#L55
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Build-ubuntu-latest: samples/AuthorizationAndCleanArchitecture/Controllers/KeycloakAdminController.cs#L41
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build-ubuntu-latest: samples/AuthorizationAndCleanArchitecture/Filters/ApiExceptionFilterAttribute.cs#L10
Change type of field 'exceptionHandlers' from 'System.Collections.Generic.IDictionary<System.Type, System.Action<Microsoft.AspNetCore.Mvc.Filters.ExceptionContext>>' to 'System.Collections.Generic.Dictionary<System.Type, System.Action<Microsoft.AspNetCore.Mvc.Filters.ExceptionContext>>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Build-windows-latest: src/Keycloak.AuthServices.Authorization/ServiceCollectionExtensions.cs#L205
Use AddAuthorizationBuilder to register authorization services and construct policies (https://aka.ms/aspnet/analyzers)
Build-windows-latest: src/Keycloak.AuthServices.Sdk/Admin/IKeycloakGroupClient.cs#L68
Parameter 'parentGroupId' has no matching param tag in the XML comment for 'IKeycloakGroupClient.GetSubGroupsAsync(string, string, GetGroupsRequestParameters?, CancellationToken)' (but other parameters do)
Build-windows-latest: src/Keycloak.AuthServices.Sdk/Admin/Requests/Users/GetUserCountRequestParameters.cs#L4
XML comment has cref attribute 'GetUserCountAsync' that could not be resolved
Build-windows-latest
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Build-windows-latest: src/Keycloak.AuthServices.Sdk/Admin/IKeycloakGroupClient.cs#L68
Parameter 'parentGroupId' has no matching param tag in the XML comment for 'IKeycloakGroupClient.GetSubGroupsAsync(string, string, GetGroupsRequestParameters?, CancellationToken)' (but other parameters do)
Build-windows-latest: src/Keycloak.AuthServices.Sdk/Admin/Requests/Users/GetUserCountRequestParameters.cs#L4
XML comment has cref attribute 'GetUserCountAsync' that could not be resolved
Build-windows-latest: src/Keycloak.AuthServices.Authorization/ServiceCollectionExtensions.cs#L205
Use AddAuthorizationBuilder to register authorization services and construct policies (https://aka.ms/aspnet/analyzers)
Build-windows-latest: samples/Blazor/Client/Shared/LoginDisplay.razor#L5
'SignOutSessionStateManager' is obsolete: 'Use 'Microsoft.AspNetCore.Components.Webassembly.Authentication.NavigationManagerExtensions.NavigateToLogout' instead.'
Build-windows-latest: samples/AuthorizationAndCleanArchitecture/Filters/ApiExceptionFilterAttribute.cs#L34
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
Build-windows-latest: samples/AuthorizationAndCleanArchitecture/Filters/ApiExceptionFilterAttribute.cs#L10
Change type of field 'exceptionHandlers' from 'System.Collections.Generic.IDictionary<System.Type, System.Action<Microsoft.AspNetCore.Mvc.Filters.ExceptionContext>>' to 'System.Collections.Generic.Dictionary<System.Type, System.Action<Microsoft.AspNetCore.Mvc.Filters.ExceptionContext>>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Build-windows-latest: samples/AuthorizationAndCleanArchitecture/Controllers/KeycloakAdminController.cs#L41
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build-windows-latest: samples/AuthorizationAndCleanArchitecture/Application/Commands/CreateWorkspaceCommand.cs#L47
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build-windows-latest: samples/AuthorizationAndCleanArchitecture/Application/Authorization/AuthorizationBehavior.cs#L32
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Build-windows-latest
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
Build-windows-latest: samples/Blazor/Client/Shared/LoginDisplay.razor#L5
'SignOutSessionStateManager' is obsolete: 'Use 'Microsoft.AspNetCore.Components.Webassembly.Authentication.NavigationManagerExtensions.NavigateToLogout' instead.'
Build-windows-latest: src/Keycloak.AuthServices.Sdk/Admin/IKeycloakGroupClient.cs#L68
Parameter 'parentGroupId' has no matching param tag in the XML comment for 'IKeycloakGroupClient.GetSubGroupsAsync(string, string, GetGroupsRequestParameters?, CancellationToken)' (but other parameters do)
Build-windows-latest: src/Keycloak.AuthServices.Sdk/Admin/Requests/Users/GetUserCountRequestParameters.cs#L4
XML comment has cref attribute 'GetUserCountAsync' that could not be resolved
Build-windows-latest: src/Keycloak.AuthServices.Authorization/ServiceCollectionExtensions.cs#L205
Use AddAuthorizationBuilder to register authorization services and construct policies (https://aka.ms/aspnet/analyzers)
Build-windows-latest: samples/AuthorizationAndCleanArchitecture/Filters/ApiExceptionFilterAttribute.cs#L34
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
Build-windows-latest: samples/AuthorizationAndCleanArchitecture/Filters/ApiExceptionFilterAttribute.cs#L10
Change type of field 'exceptionHandlers' from 'System.Collections.Generic.IDictionary<System.Type, System.Action<Microsoft.AspNetCore.Mvc.Filters.ExceptionContext>>' to 'System.Collections.Generic.Dictionary<System.Type, System.Action<Microsoft.AspNetCore.Mvc.Filters.ExceptionContext>>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
Build-windows-latest: samples/AuthorizationAndCleanArchitecture/Application/Commands/CreateWorkspaceCommand.cs#L47
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build-windows-latest: samples/AuthorizationAndCleanArchitecture/Application/Authorization/AuthorizationBehavior.cs#L32
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
Build-windows-latest: samples/AuthorizationAndCleanArchitecture/Controllers/KeycloakAdminController.cs#L41
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)

Artifacts

Produced during runtime
Name Size
ubuntu-latest
58.9 MB
windows-latest
61.5 MB