Update dotnet monorepo - autoclosed #189
main.yml
on: pull_request
Build (SDK projects) — Ubuntu
1m 0s
Build (Legacy .NET Framework) — Windows
2m 59s
Annotations
26 warnings
|
Build (SDK projects) — Ubuntu
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build (SDK projects) — Ubuntu
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
|
|
Build (SDK projects) — Ubuntu:
src/TBC.OpenAPI.SDK.Core/HttpHelper.cs#L36
Call System.IDisposable.Dispose on object created by 'GetHttpClient()' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
Build (SDK projects) — Ubuntu:
src/TBC.OpenAPI.SDK.Core/HttpHelper.cs#L37
Call System.IDisposable.Dispose on object created by 'CreateRequestMessage(httpClient, HttpMethod.Get, path, query, headers)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
Build (SDK projects) — Ubuntu:
src/TBC.OpenAPI.SDK.Core/Models/ProblemDetails.cs#L76
Change 'Errors' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
|
|
Build (SDK projects) — Ubuntu:
src/TBC.OpenAPI.SDK.Core/Models/ApiResponse.cs#L7
Change 'Headers' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
|
|
Build (SDK projects) — Ubuntu:
src/TBC.OpenAPI.SDK.Core/Extensions/HttpClientFactoryExtensions.cs#L11
Possible null reference argument for parameter 'name' in 'HttpClient IHttpClientFactory.CreateClient(string name)'.
|
|
Build (SDK projects) — Ubuntu:
src/TBC.OpenAPI.SDK.Core/Extensions/ServiceCollectionExtensions.cs#L26
Dereference of a possibly null reference.
|
|
Build (SDK projects) — Ubuntu:
src/TBC.OpenAPI.SDK.Core/Extensions/ServiceCollectionExtensions.cs#L17
Possible null reference argument for parameter 'name' in 'IHttpClientBuilder HttpClientFactoryServiceCollectionExtensions.AddHttpClient(IServiceCollection services, string name, Action<HttpClient> configureClient)'.
|
|
Build (SDK projects) — Ubuntu:
src/TBC.OpenAPI.SDK.Core/Exceptions/OpenApiException.cs#L19
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
|
Build (SDK projects) — Ubuntu:
src/TBC.OpenAPI.SDK.Core/QueryStringHelper/QueryStringBuilder.cs#L15
Cannot convert null literal to non-nullable reference type.
|
|
Build (SDK projects) — Ubuntu:
src/TBC.OpenAPI.SDK.Core/Models/ProblemDetailsJsonConverter.cs#L8
'ProblemDetailsJsonConverter.Type' hides inherited member 'JsonConverter<ProblemDetails>.Type'. Use the new keyword if hiding was intended.
|
|
Build (SDK projects) — Ubuntu
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
|
|
Build (Legacy .NET Framework) — Windows
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, NuGet/setup-nuget@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build (Legacy .NET Framework) — Windows
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
|
|
Build (Legacy .NET Framework) — Windows:
src/TBC.OpenAPI.SDK.Core/Models/ParamValue.cs#L95
Change 'List<int>' in 'ParamValue.implicit operator ParamValue(List<int>)' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
|
|
Build (Legacy .NET Framework) — Windows:
src/TBC.OpenAPI.SDK.Core/Models/ProblemDetailsJsonConverter.cs#L41
In externally visible method 'void ProblemDetailsJsonConverter.Write(Utf8JsonWriter writer, ProblemDetails 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)
|
|
Build (Legacy .NET Framework) — Windows:
src/TBC.OpenAPI.SDK.Core/Models/ProblemDetailsJsonConverter.cs#L42
In externally visible method 'void ProblemDetailsJsonConverter.Write(Utf8JsonWriter writer, ProblemDetails value, JsonSerializerOptions options)', 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)
|
|
Build (Legacy .NET Framework) — Windows:
src/TBC.OpenAPI.SDK.Core/Models/ParamValue.cs#L93
Change 'List<string>' in 'ParamValue.implicit operator ParamValue(List<string>)' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
|
|
Build (Legacy .NET Framework) — Windows:
src/TBC.OpenAPI.SDK.Core/Models/HeaderParamCollection.cs#L17
In externally visible method 'void HeaderParamCollection.ApplyHeaders(HttpRequestHeaders headers)', validate parameter 'headers' 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)
|
|
Build (Legacy .NET Framework) — Windows:
src/TBC.OpenAPI.SDK.Core/Models/ProblemDetails.cs#L76
Change 'Errors' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
|
|
Build (Legacy .NET Framework) — Windows:
src/TBC.OpenAPI.SDK.Core/Models/ApiResponse.cs#L7
Change 'Headers' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
|
|
Build (Legacy .NET Framework) — Windows:
src/TBC.OpenAPI.SDK.Core/Extensions/ServiceCollectionExtensions.cs#L26
Dereference of a possibly null reference.
|
|
Build (Legacy .NET Framework) — Windows:
src/TBC.OpenAPI.SDK.Core/QueryStringHelper/QueryStringBuilder.cs#L15
Cannot convert null literal to non-nullable reference type.
|
|
Build (Legacy .NET Framework) — Windows:
src/TBC.OpenAPI.SDK.Core/Models/ProblemDetailsJsonConverter.cs#L8
'ProblemDetailsJsonConverter.Type' hides inherited member 'JsonConverter<ProblemDetails>.Type'. Use the new keyword if hiding was intended.
|
|
Build (Legacy .NET Framework) — Windows
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
|