Add comprehensive CI build workflow for API with full test suite #24
Annotations
1 error and 8 warnings
|
|
|
tests/WarehouseEngine.Api.Integration.Tests/WarehouseEngineApiIntegrationTests.cs#L209
Call System.IDisposable.Dispose on object created by 'new StringContent(json, Encoding.UTF8, "application/json")' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
tests/WarehouseEngine.Api.Integration.Tests/WarehouseEngineApiIntegrationTests.cs#L352
Call System.IDisposable.Dispose on object created by 'new StringContent(json, Encoding.UTF8, "application/json")' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
tests/WarehouseEngine.Api.Integration.Tests/WarehouseEngineApiIntegrationTests.cs#L209
Call System.IDisposable.Dispose on object created by 'new StringContent(json, Encoding.UTF8, "application/json")' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
tests/WarehouseEngine.Api.Integration.Tests/WarehouseEngineApiIntegrationTests.cs#L352
Call System.IDisposable.Dispose on object created by 'new StringContent(json, Encoding.UTF8, "application/json")' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
|
src/WarehouseEngine.Api/Program.cs#L155
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.
|
|
src/WarehouseEngine.Api/Program.cs#L155
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.
|
|
src/WarehouseEngine.Infrastructure/DataContext/WarehouseEngineContext.cs#L27
#warning: 'To protect potentially sensitive information in your connection string, you should move it out of source code. You can avoid scaffolding the connection string by using the Name= syntax to read it from configuration - see https://go.microsoft.com/fwlink/?linkid=2131148. For more guidance on storing connection strings, see http://go.microsoft.com/fwlink/?LinkId=723263.'
|
|
src/WarehouseEngine.Infrastructure/DataContext/WarehouseEngineContext.cs#L27
#warning: 'To protect potentially sensitive information in your connection string, you should move it out of source code. You can avoid scaffolding the connection string by using the Name= syntax to read it from configuration - see https://go.microsoft.com/fwlink/?linkid=2131148. For more guidance on storing connection strings, see http://go.microsoft.com/fwlink/?LinkId=723263.'
|
The logs for this run have expired and are no longer available.
Loading