Skip to content

Add .NET 10 target framework support #1937

Add .NET 10 target framework support

Add .NET 10 target framework support #1937

Re-run triggered November 18, 2025 22:33
Status Success
Total duration 13m 4s
Artifacts 5

buildtest.yaml

on: pull_request
Matrix: Dotnet build
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
Dotnet build (macOS-latest): src/KubernetesClient/KubernetesJson.cs#L27
In externally visible method 'void Iso8601TimeSpanConverter.Write(Utf8JsonWriter writer, TimeSpan value, JsonSerializerOptions options)', validate parameter 'writer' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Dotnet build (macOS-latest): src/KubernetesClient/KubernetesJson.cs#L213
In externally visible method 'string KubernetesJson.Serialize(JsonNode value, JsonSerializerOptions jsonSerializerOptions = null)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Dotnet build (macOS-latest): src/KubernetesClient/KubernetesJson.cs#L193
In externally visible method 'string KubernetesJson.Serialize(JsonDocument value, JsonSerializerOptions jsonSerializerOptions = null)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Dotnet build (macOS-latest): src/KubernetesClient/KubernetesJson.cs#L183
In externally visible method 'string KubernetesJson.Serialize(object value, JsonSerializerOptions jsonSerializerOptions = null)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Dotnet build (macOS-latest): src/KubernetesClient/KubernetesJson.cs#L27
In externally visible method 'void Iso8601TimeSpanConverter.Write(Utf8JsonWriter writer, TimeSpan value, JsonSerializerOptions options)', validate parameter 'writer' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Dotnet build (macOS-latest): src/KubernetesClient/KubernetesJson.cs#L69
In externally visible method 'void KubernetesDateTimeOffsetConverter.Write(Utf8JsonWriter writer, DateTimeOffset value, JsonSerializerOptions options)', validate parameter 'writer' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Dotnet build (macOS-latest): src/KubernetesClient/Models/KubernetesDateTimeOffsetYamlConverter.cs#L62
In externally visible method 'void KubernetesDateTimeOffsetYamlConverter.WriteYaml(IEmitter emitter, object value, Type type, ObjectSerializer serializer)', validate parameter 'emitter' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Dotnet build (macOS-latest): src/KubernetesClient/Models/ResourceQuantity.cs#L174
In externally visible method 'ResourceQuantity.implicit operator decimal(ResourceQuantity v)', validate parameter 'v' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Dotnet build (windows-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (windows-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (windows-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (windows-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (windows-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (windows-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (windows-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (windows-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'
Dotnet build (windows-latest)
'WatcherExt.WatchAsync<T, L>(Task<HttpOperationResponse<L>>, Action<Exception>, CancellationToken)' is obsolete: 'This method will be deprecated in future versions. Please use the WatchAsync method instead.'
Dotnet build (windows-latest)
'WatcherExt.Watch<T, L>(Task<HttpOperationResponse<L>>, Action<WatchEventType, T>, Action<Exception>, Action)' is obsolete: 'This method will be deprecated in future versions. Please use the Watch method instead.'

Artifacts

Produced during runtime
Name Size Digest
test-results-macOS-latest
6.04 MB
sha256:30ce6494403b00f984abf109bbcf70503977e1f762e6da77407465281b3d06ee
test-results-windows-latest
9.51 MB
sha256:b92165db304e217c3142e36513fd7dd1fd7b46db61373e102586f8052a4f3a64