Update dependency Soenneker.Tests.Unit to 3.0.596 #521
build-and-test.yml
on: pull_request
build-and-test
26s
Annotations
11 warnings
build-and-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build-and-test:
src/Abstract/IAsyncSingleton{T}.cs#L35
Ambiguous reference in cref attribute: 'Get'. Assuming 'IAsyncSingleton<T>.Get(object[])', but could have also matched other overloads including 'IAsyncSingleton<T>.Get(CancellationToken, object[])'.
|
build-and-test:
test/Soenneker.Utils.AsyncSingleton.Tests/AsyncSingleton{T}Tests.cs#L116
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-and-test:
test/Soenneker.Utils.AsyncSingleton.Tests/AsyncSingleton{T}Tests.cs#L122
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-and-test:
test/Soenneker.Utils.AsyncSingleton.Tests/AsyncSingletonTests.cs#L107
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-and-test:
test/Soenneker.Utils.AsyncSingleton.Tests/AsyncSingleton{T}Tests.cs#L134
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-and-test:
test/Soenneker.Utils.AsyncSingleton.Tests/AsyncSingletonTests.cs#L113
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-and-test:
test/Soenneker.Utils.AsyncSingleton.Tests/AsyncSingletonTests.cs#L125
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-and-test:
test/Soenneker.Utils.AsyncSingleton.Tests/AsyncSingleton{T}Tests.cs#L25
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
build-and-test:
test/Soenneker.Utils.AsyncSingleton.Tests/AsyncSingletonTests.cs#L24
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|
build-and-test:
test/Soenneker.Utils.AsyncSingleton.Tests/AsyncSingletonTests.cs#L38
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
|