Support sync interface members & enum names #2053
ci-build.yml
on: pull_request
Matrix: build / build-unix
build
/
build-windows
3m 32s
build
/
collect-coverage
11s
Annotations
1 error and 34 warnings
|
build / collect-coverage
Process completed with exit code 141.
|
|
build / build-unix (macos-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: dotnet/nbgv@v0.5.1, glennawatson/coverlet-msbuild@v2.1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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 / build-unix (macos-latest):
Refit/RequestBuilderImplementation.cs#L438
Possible null reference argument for parameter 'message' in 'ApiRequestException.ApiRequestException(HttpRequestMessage message, HttpMethod httpMethod, RefitSettings refitSettings, Exception innerException)'.
|
|
build / build-unix (macos-latest):
Refit/RequestBuilderImplementation.cs#L438
Dereference of a possibly null reference.
|
|
build / build-unix (macos-latest):
Refit/RequestBuilderImplementation.cs#L431
Possible null reference argument for parameter 'message' in 'ApiRequestException.ApiRequestException(HttpRequestMessage message, HttpMethod httpMethod, RefitSettings refitSettings, Exception innerException)'.
|
|
build / build-unix (macos-latest):
Refit/RequestBuilderImplementation.cs#L431
Dereference of a possibly null reference.
|
|
build / build-unix (macos-latest):
Refit/RequestBuilderImplementation.cs#L419
Dereference of a possibly null reference.
|
|
build / build-unix (macos-latest):
Refit/RequestBuilderImplementation.cs#L377
Dereference of a possibly null reference.
|
|
build / build-unix (macos-latest):
Refit/SystemTextJsonContentSerializer.cs#L216
Possible null reference argument for parameter 'key' in 'bool Dictionary<string, object>.TryGetValue(string key, out object value)'.
|
|
build / build-unix (macos-latest):
Refit/ApiResponse.cs#L243
Possible null reference argument for parameter 'response' in 'Task<ApiException> ApiException.Create(HttpRequestMessage message, HttpMethod httpMethod, HttpResponseMessage response, RefitSettings refitSettings, Exception? innerException = null)'.
|
|
build / build-unix (macos-latest):
Refit/ApiResponse.cs#L221
Possible null reference assignment.
|
|
build / build-unix (macos-latest):
Refit/ApiResponse.cs#L205
Possible null reference assignment.
|
|
build / build-unix (ubuntu-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: dotnet/nbgv@v0.5.1, glennawatson/coverlet-msbuild@v2.1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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 / build-unix (ubuntu-latest):
Refit/SystemTextJsonContentSerializer.cs#L216
Possible null reference argument for parameter 'key' in 'bool Dictionary<string, object>.TryGetValue(string key, out object value)'.
|
|
build / build-unix (ubuntu-latest):
InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L161
Type 'SyntaxReceiver' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
|
build / build-unix (ubuntu-latest):
InterfaceStubGenerator.Shared/Emitter.cs#L325
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'Refit.Generator.Emitter.WriteMethodOpening(Refit.Generator.SourceWriter, Refit.Generator.MethodModel, bool, bool, bool)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
|
|
build / build-unix (ubuntu-latest):
InterfaceStubGenerator.Shared/Emitter.cs#L345
Use 'StringBuilder.Append(char)' instead of 'StringBuilder.Append(string)' when the input is a constant unit string (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1834)
|
|
build / build-unix (ubuntu-latest):
InterfaceStubGenerator.Shared/Emitter.cs#L192
Method WriteRefitMethod passes 'ReturnTypeMetadata' as the paramName argument to a ArgumentOutOfRangeException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
|
|
build / build-unix (ubuntu-latest):
InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L23
Unused field 'TypeParameterVariableName' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)
|
|
build / build-unix (ubuntu-latest):
InterfaceStubGenerator.Shared/Parser.cs#L46
Prefer the generic overload 'Refit.Generator.WellKnownTypes.Get<T>()' instead of 'Refit.Generator.WellKnownTypes.Get(System.Type)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
|
|
build / build-unix (ubuntu-latest):
InterfaceStubGenerator.Shared/Polyfills/IndexRange.cs#L58
Provide a method named 'ToIndex' or 'FromInt32' as an alternate for operator op_Implicit (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2225)
|
|
build / build-unix (ubuntu-latest):
InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder.UniqueNameBuilder()'
|
|
build / build-unix (ubuntu-latest):
InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder'
|
|
build / build-windows
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: dotnet/nbgv@v0.5.1, glennawatson/coverlet-msbuild@v2.1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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 / build-windows:
Refit/RequestBuilderImplementation.cs#L377
Dereference of a possibly null reference.
|
|
build / build-windows:
Refit/SystemTextJsonContentSerializer.cs#L216
Possible null reference argument for parameter 'key' in 'bool Dictionary<string, object>.TryGetValue(string key, out object value)'.
|
|
build / build-windows:
InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L23
Unused field 'TypeParameterVariableName' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)
|
|
build / build-windows:
InterfaceStubGenerator.Shared/Emitter.cs#L325
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'Refit.Generator.Emitter.WriteMethodOpening(Refit.Generator.SourceWriter, Refit.Generator.MethodModel, bool, bool, bool)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
|
|
build / build-windows:
InterfaceStubGenerator.Shared/Emitter.cs#L345
Use 'StringBuilder.Append(char)' instead of 'StringBuilder.Append(string)' when the input is a constant unit string (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1834)
|
|
build / build-windows:
InterfaceStubGenerator.Shared/Emitter.cs#L192
Method WriteRefitMethod passes 'ReturnTypeMetadata' as the paramName argument to a ArgumentOutOfRangeException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
|
|
build / build-windows:
InterfaceStubGenerator.Shared/Parser.cs#L46
Prefer the generic overload 'Refit.Generator.WellKnownTypes.Get<T>()' instead of 'Refit.Generator.WellKnownTypes.Get(System.Type)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
|
|
build / build-windows:
InterfaceStubGenerator.Shared/Polyfills/IndexRange.cs#L58
Provide a method named 'ToIndex' or 'FromInt32' as an alternate for operator op_Implicit (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2225)
|
|
build / build-windows:
InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder.UniqueNameBuilder()'
|
|
build / build-windows:
InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder'
|
|
build / collect-coverage
No files were found with the provided path: ./.collect. No artifacts will be uploaded.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
nuget
|
913 KB |
sha256:3825e550fbb5c8ae6bcad4297eab36312047785afc17d5f64ea9fd1d3d279e14
|
|
|
tmp-coverage-Linux
Expired
|
117 KB |
sha256:3b07afeecde5a36e9e8ddfd327cd0f1b0b4113ac0ecdcfa0ae102a2aa953251f
|
|
|
tmp-coverage-Windows
Expired
|
116 KB |
sha256:08544f1b3ebb064a61c046c55dde8d58fc23bcc655a00cf55954dc0acdd2f08a
|
|
|
tmp-coverage-macOS
Expired
|
117 KB |
sha256:83e3262bdd9da6b2b3e913b1ef5951039454440486a413acaf1f669554774a83
|
|