Skip to content

chore: migrate to .NET 10 #362

chore: migrate to .NET 10

chore: migrate to .NET 10 #362

Triggered via pull request December 25, 2025 15:03
Status Success
Total duration 4m 30s
Artifacts 2

build.yml

on: pull_request
Matrix: build
Integration Tests
2m 31s
Integration Tests
Push GitHub Packages
0s
Push GitHub Packages
Push NuGet Packages
0s
Push NuGet Packages
Fit to window
Zoom out
Zoom in

Annotations

64 warnings
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/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-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/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/Application/Authorization/AuthorizationBehavior.cs#L42
Forward the 'cancellationToken' parameter to the 'Invoke' method or pass in 'CancellationToken.None' explicitly to indicate intentionally not propagating the token (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2016)
Build-ubuntu-latest: samples/AuthorizationAndCleanArchitecture/Application/Authorization/AuthorizationBehavior.cs#L34
Forward the 'cancellationToken' parameter to the 'Invoke' method or pass in 'CancellationToken.None' explicitly to indicate intentionally not propagating the token (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2016)
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: 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: samples/Blazor/Client/Shared/LoginDisplay.razor#L5
'SignOutSessionStateManager' is obsolete: 'Use 'Microsoft.AspNetCore.Components.Webassembly.Authentication.NavigationManagerExtensions.NavigateToLogout' instead.'
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.Sdk/Admin/Requests/Users/GetUserCountRequestParameters.cs#L4
XML comment has cref attribute 'GetUserCountAsync' that could not be resolved
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: samples/AuthorizationAndCleanArchitecture/Application/Authorization/AuthorizationBehavior.cs#L34
Forward the 'cancellationToken' parameter to the 'Invoke' method or pass in 'CancellationToken.None' explicitly to indicate intentionally not propagating the token (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2016)
Build-ubuntu-latest: samples/AuthGettingStarted/Program.cs#L45
Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
Build-ubuntu-latest: samples/WebApp/Controllers/AccountController.cs#L45
Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
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/WebApp/Views/Shared/_LoginPartial.cshtml#L4
Dereference of a possibly null reference.
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/Blazor/Client/Shared/LoginDisplay.razor#L5
'SignOutSessionStateManager' is obsolete: 'Use 'Microsoft.AspNetCore.Components.Webassembly.Authentication.NavigationManagerExtensions.NavigateToLogout' instead.'
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: 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
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.
Integration Tests: tests/Keycloak.AuthServices.IntegrationTests/ProtectedResourcePolicyTests.cs#L16
Parameter 'KeycloakFixture fixture' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
Integration Tests: tests/Keycloak.AuthServices.IntegrationTests/PolicyTests.cs#L15
Parameter 'KeycloakFixture fixture' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
Integration Tests: tests/Keycloak.AuthServices.IntegrationTests/ProtectedResourceWithControllersPolicyTests.cs#L16
Parameter 'KeycloakFixture fixture' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
Integration Tests: tests/Keycloak.AuthServices.IntegrationTests/Protection/KeycloakProtectionClientTests.cs#L13
Parameter 'KeycloakFixture fixture' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
Integration Tests: tests/Keycloak.AuthServices.IntegrationTests/AuthorizationServerPolicyTests.cs#L16
Parameter 'KeycloakFixture fixture' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
Integration Tests: tests/Keycloak.AuthServices.IntegrationTests/AdminKiota/KeycloakRealmKiotaClientTests.cs#L16
Parameter 'KeycloakFixture fixture' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
Integration Tests: tests/Keycloak.AuthServices.IntegrationTests/Admin/KeycloakRealmClientTests.cs#L16
Parameter 'KeycloakFixture fixture' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
Integration Tests: tests/Keycloak.AuthServices.IntegrationTests/Admin/KeycloakGroupClientTests.cs#L8
Parameter 'KeycloakFixture fixture' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
Integration Tests: src/Keycloak.AuthServices.Sdk/Admin/Requests/Users/GetUserCountRequestParameters.cs#L4
XML comment has cref attribute 'GetUserCountAsync' that could not be resolved
Integration Tests: 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)
Integration Tests: samples/AuthorizationAndCleanArchitecture/Application/Authorization/AuthorizationBehavior.cs#L34
Forward the 'cancellationToken' parameter to the 'Invoke' method or pass in 'CancellationToken.None' explicitly to indicate intentionally not propagating the token (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2016)
Integration Tests: samples/AuthGettingStarted/Program.cs#L45
Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
Integration Tests: samples/WebApp/Controllers/AccountController.cs#L45
Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
Integration Tests: 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)
Integration Tests: samples/WebApp/Views/Shared/_LoginPartial.cshtml#L4
Dereference of a possibly null reference.
Integration Tests: 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.
Integration Tests: samples/Blazor/Client/Shared/LoginDisplay.razor#L5
'SignOutSessionStateManager' is obsolete: 'Use 'Microsoft.AspNetCore.Components.Webassembly.Authentication.NavigationManagerExtensions.NavigateToLogout' instead.'
Integration Tests: src/Keycloak.AuthServices.Sdk/Admin/Requests/Users/GetUserCountRequestParameters.cs#L4
XML comment has cref attribute 'GetUserCountAsync' that could not be resolved
Integration Tests: 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)
Integration Tests
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/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/AuthGettingStarted/Program.cs#L45
Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
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/WebApp/Controllers/AccountController.cs#L45
Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
Build-windows-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-windows-latest: samples/WebApp/Views/Shared/_LoginPartial.cshtml#L4
Dereference of a possibly null reference.
Build-windows-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-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.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
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/Requests/Users/GetUserCountRequestParameters.cs#L4
XML comment has cref attribute 'GetUserCountAsync' that could not be resolved
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: 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/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: 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.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: samples/WebApp/Controllers/AccountController.cs#L45
Evaluation of this argument may be expensive and unnecessary if logging is disabled (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1873)
Build-windows-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-windows-latest: samples/WebApp/Views/Shared/_LoginPartial.cshtml#L4
Dereference of a possibly null reference.
Build-windows-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-windows-latest: samples/Blazor/Client/Shared/LoginDisplay.razor#L5
'SignOutSessionStateManager' is obsolete: 'Use 'Microsoft.AspNetCore.Components.Webassembly.Authentication.NavigationManagerExtensions.NavigateToLogout' instead.'
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.

Artifacts

Produced during runtime
Name Size Digest
ubuntu-latest
71.8 MB
sha256:9bd1d8cad2bb3cabbf6fdf3688ee13451a2c12be25f0d978a411aba7b45e3627
windows-latest
72.2 MB
sha256:979e803698817779ea74d0ee8f54a6f3bb3224a7a438da142d61d8bcb2b997f8