chore: add topics and disposable token code snippets for dev docs #393
Triggered via pull request
September 12, 2023 00:32
Status
Success
Total duration
6m 40s
Artifacts
–
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
build.yaml
on: pull_request
build_examples
30s
Matrix: build_csharp
Annotations
41 warnings
build_examples
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build_examples:
examples/DocExampleApis/Program.cs#L177
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build_examples:
examples/DocExampleApis/Program.cs#L195
Unreachable code detected
|
build_examples:
examples/DocExampleApis/Program.cs#L225
Unreachable code detected
|
build_examples:
examples/DocExampleApis/Program.cs#L234
Unreachable code detected
|
build_csharp (ubuntu-latest, net6.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: gerred/actions/current-time@master, actions/checkout@v2, actions/setup-dotnet@v1, amannn/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build_csharp (ubuntu-latest, net6.0)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build_csharp (ubuntu-latest, net6.0):
src/Momento.Sdk/Internal/ScsTokenClient.cs#L33
'ScsTokenClient.CalculateDeadline()': new protected member declared in sealed type
|
build_csharp (ubuntu-latest, net6.0):
src/Momento.Sdk/Internal/ScsTokenClient.cs#L45
Nullable value type may be null.
|
build_csharp (ubuntu-latest, net6.0):
src/Momento.Sdk/Internal/ScsTopicClient.cs#L109
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build_csharp (ubuntu-latest, net6.0):
src/Momento.Sdk/Internal/AuthGrpcManager.cs#L63
Non-nullable field '_logger' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
build_csharp (ubuntu-latest, net6.0):
src/Momento.Sdk/Internal/ScsTokenClient.cs#L33
'ScsTokenClient.CalculateDeadline()': new protected member declared in sealed type
|
build_csharp (ubuntu-latest, net6.0):
src/Momento.Sdk/Internal/ScsTokenClient.cs#L45
Nullable value type may be null.
|
build_csharp (ubuntu-latest, net6.0):
src/Momento.Sdk/Internal/AuthGrpcManager.cs#L63
Non-nullable field '_logger' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
build_csharp (ubuntu-latest, net6.0):
src/Momento.Sdk/Internal/AuthGrpcManager.cs#L61
The field 'AuthGrpcManager._logger' is never used
|
build_csharp (ubuntu-latest, net6.0):
src/Momento.Sdk/Auth/AccessControl/DisposableToken.cs#L4
Missing XML comment for publicly visible type or member 'DisposableTokenPermission'
|
build_csharp (ubuntu-latest, net6.0):
src/Momento.Sdk/Auth/AccessControl/DisposableToken.cs#L6
Missing XML comment for publicly visible type or member 'DisposableToken'
|
build_csharp (windows-latest, net6.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: gerred/actions/current-time@master, actions/checkout@v2, actions/setup-dotnet@v1, amannn/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build_csharp (windows-latest, net6.0):
src/Momento.Sdk/Internal/ScsTokenClient.cs#L33
'ScsTokenClient.CalculateDeadline()': new protected member declared in sealed type
|
build_csharp (windows-latest, net6.0):
src/Momento.Sdk/Internal/ScsTokenClient.cs#L45
Nullable value type may be null.
|
build_csharp (windows-latest, net6.0):
src/Momento.Sdk/Internal/AuthGrpcManager.cs#L63
Non-nullable field '_logger' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
build_csharp (windows-latest, net6.0):
src/Momento.Sdk/Internal/AuthGrpcManager.cs#L61
The field 'AuthGrpcManager._logger' is never used
|
build_csharp (windows-latest, net6.0):
src/Momento.Sdk/AuthClient.cs#L13
Missing XML comment for publicly visible type or member 'AuthClient'
|
build_csharp (windows-latest, net6.0):
src/Momento.Sdk/AuthClient.cs#L18
Missing XML comment for publicly visible type or member 'AuthClient.AuthClient(IAuthConfiguration, ICredentialProvider)'
|
build_csharp (windows-latest, net6.0):
src/Momento.Sdk/AuthClient.cs#L23
Missing XML comment for publicly visible type or member 'AuthClient.GenerateDisposableTokenAsync(DisposableTokenScope, ExpiresIn)'
|
build_csharp (windows-latest, net6.0):
src/Momento.Sdk/Auth/AccessControl/DisposableToken.cs#L4
Missing XML comment for publicly visible type or member 'DisposableTokenPermission'
|
build_csharp (windows-latest, net6.0):
src/Momento.Sdk/Auth/AccessControl/DisposableToken.cs#L6
Missing XML comment for publicly visible type or member 'DisposableToken'
|
build_csharp (windows-latest, net6.0):
src/Momento.Sdk/Auth/AccessControl/DisposableToken.cs#L8
Missing XML comment for publicly visible type or member 'DisposableToken.CachePermission'
|
build_csharp (windows-latest, net6.0)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build_csharp (windows-latest, net461)
The following actions uses node12 which is deprecated and will be forced to run on node16: gerred/actions/current-time@master, actions/checkout@v2, actions/setup-dotnet@v1, amannn/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build_csharp (windows-latest, net461)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build_csharp (windows-latest, net461):
src/Momento.Sdk/Internal/ScsTokenClient.cs#L33
'ScsTokenClient.CalculateDeadline()': new protected member declared in sealed type
|
build_csharp (windows-latest, net461):
src/Momento.Sdk/Internal/ScsTokenClient.cs#L45
Nullable value type may be null.
|
build_csharp (windows-latest, net461):
src/Momento.Sdk/Internal/AuthGrpcManager.cs#L63
Non-nullable field '_logger' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
build_csharp (windows-latest, net461):
src/Momento.Sdk/Internal/AuthGrpcManager.cs#L61
The field 'AuthGrpcManager._logger' is never used
|
build_csharp (windows-latest, net461):
src/Momento.Sdk/AuthClient.cs#L13
Missing XML comment for publicly visible type or member 'AuthClient'
|
build_csharp (windows-latest, net461):
src/Momento.Sdk/AuthClient.cs#L18
Missing XML comment for publicly visible type or member 'AuthClient.AuthClient(IAuthConfiguration, ICredentialProvider)'
|
build_csharp (windows-latest, net461):
src/Momento.Sdk/AuthClient.cs#L23
Missing XML comment for publicly visible type or member 'AuthClient.GenerateDisposableTokenAsync(DisposableTokenScope, ExpiresIn)'
|
build_csharp (windows-latest, net461):
src/Momento.Sdk/Auth/AccessControl/DisposableToken.cs#L4
Missing XML comment for publicly visible type or member 'DisposableTokenPermission'
|
build_csharp (windows-latest, net461):
src/Momento.Sdk/Auth/AccessControl/DisposableToken.cs#L6
Missing XML comment for publicly visible type or member 'DisposableToken'
|
build_csharp (windows-latest, net461):
src/Momento.Sdk/Auth/AccessControl/DisposableToken.cs#L8
Missing XML comment for publicly visible type or member 'DisposableToken.CachePermission'
|