Skip to content

Build and test API #332

Build and test API

Build and test API #332

Manually triggered November 27, 2023 22:59
Status Success
Total duration 47s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

api-build-and-test.yml

on: workflow_dispatch
build_and_test
40s
build_and_test
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build_and_test
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_and_test: packages/api/AlvTime.Persistence/Repositories/CompensationRateQueryableExtension.cs#L11
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
build_and_test: packages/api/AlvTimeWebApi/Startup.cs#L41
'CompatibilityVersion' is obsolete: 'This API is obsolete and will be removed in a future version. Consider removing usages.' (https://aka.ms/aspnetcore-warnings/ASP5001)
build_and_test: packages/api/AlvTimeWebApi/Startup.cs#L41
'CompatibilityVersion.Version_3_0' is obsolete: 'This CompatibilityVersion value is obsolete.'
build_and_test: packages/api/AlvTimeWebApi/Startup.cs#L41
'MvcCoreMvcBuilderExtensions.SetCompatibilityVersion(IMvcBuilder, CompatibilityVersion)' is obsolete: 'This API is obsolete and will be removed in a future version. Consider removing usages.' (https://aka.ms/aspnetcore-warnings/ASP5001)
build_and_test: packages/api/Tests/UnitTests/TimeEntries/TimeEntryStorageTests.cs#L6
The using directive for 'AlvTime.Business.TimeRegistration' appeared previously in this namespace
build_and_test: packages/api/Tests/UnitTests/Users/UserStorageTests.cs#L13
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: packages/api/AlvTime.Persistence/Repositories/CompensationRateQueryableExtension.cs#L11
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
build_and_test: packages/api/AlvTimeWebApi/Startup.cs#L41
'CompatibilityVersion' is obsolete: 'This API is obsolete and will be removed in a future version. Consider removing usages.' (https://aka.ms/aspnetcore-warnings/ASP5001)
build_and_test: packages/api/AlvTimeWebApi/Startup.cs#L41
'CompatibilityVersion.Version_3_0' is obsolete: 'This CompatibilityVersion value is obsolete.'
build_and_test: packages/api/AlvTimeWebApi/Startup.cs#L41
'MvcCoreMvcBuilderExtensions.SetCompatibilityVersion(IMvcBuilder, CompatibilityVersion)' is obsolete: 'This API is obsolete and will be removed in a future version. Consider removing usages.' (https://aka.ms/aspnetcore-warnings/ASP5001)