Skip to content

Register MapService as scoped #133

Register MapService as scoped

Register MapService as scoped #133

Triggered via pull request June 14, 2024 14:51
Status Success
Total duration 1m 26s
Artifacts

unit-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

23 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
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
.NET 7.0 is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.
build: tests/AzureMapsControl.Components.Tests/Traffic/TrafficOptions.cs#L48
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: tests/AzureMapsControl.Components.Tests/Traffic/TrafficOptions.cs#L62
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: tests/AzureMapsControl.Components.Tests/Drawing/DrawingToolbarEventInvokeHelper.cs#L16
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: tests/AzureMapsControl.Components.Tests/Popups/Popup.cs#L161
'Popup.UpdateAsync(Action<PopupOptions>)' is obsolete: 'Will be removed in a future version. Use SetOptionsAsync instead.'
build: tests/AzureMapsControl.Components.Tests/Popups/Popup.cs#L176
'Popup.UpdateAsync(Action<PopupOptions>)' is obsolete: 'Will be removed in a future version. Use SetOptionsAsync instead.'
build: tests/AzureMapsControl.Components.Tests/Popups/Popup.cs#L189
'Popup.UpdateAsync(Action<PopupOptions>)' is obsolete: 'Will be removed in a future version. Use SetOptionsAsync instead.'
build: tests/AzureMapsControl.Components.Tests/Map/MapService.cs#L28
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: tests/AzureMapsControl.Components.Tests/Markers/HtmlMarkerInvokeHelper.cs#L16
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: tests/AzureMapsControl.Components.Tests/Controls/OverviewMapControl.cs#L41
'OverviewMapControl.UpdateAsync(Action<OverviewMapControlOptions>)' is obsolete: 'Will be removed in a future version. Use SetOptionsAsync instead.'
build: tests/AzureMapsControl.Components.Tests/Controls/OverviewMapControl.cs#L55
'OverviewMapControl.UpdateAsync(Action<OverviewMapControlOptions>)' is obsolete: 'Will be removed in a future version. Use SetOptionsAsync instead.'
build: src/AzureMapsControl.Components/Controls/CompassControlOptions.cs#L9
'IControlOptions' is obsolete: 'Will be removed in a future version'
build: src/AzureMapsControl.Components/Controls/FullScreenControlOptions.cs#L11
'IControlOptions' is obsolete: 'Will be removed in a future version'
build: src/AzureMapsControl.Components/Controls/GeolocationControlOptions.cs#L8
'IControlOptions' is obsolete: 'Will be removed in a future version'
build: src/AzureMapsControl.Components/Controls/OverviewMapControlOptions.cs#L10
'IControlOptions' is obsolete: 'Will be removed in a future version'
build: src/AzureMapsControl.Components/Controls/PitchControlOptions.cs#L9
'IControlOptions' is obsolete: 'Will be removed in a future version'
build: src/AzureMapsControl.Components/Controls/ScaleBarControlOptions.cs#L6
'IControlOptions' is obsolete: 'Will be removed in a future version'
build: src/AzureMapsControl.Components/Controls/StyleControlOptions.cs#L12
'IControlOptions' is obsolete: 'Will be removed in a future version'
build: src/AzureMapsControl.Components/Controls/ZoomControlOptions.cs#L6
'IControlOptions' is obsolete: 'Will be removed in a future version'
build: src/AzureMapsControl.Components/Map/AzureMap.razor#L58
Component parameter 'AzureMapsControl.Components.Map.AzureMap.Id' should be auto property
build: src/AzureMapsControl.Components/Controls/CompassControlOptions.cs#L9
'IControlOptions' is obsolete: 'Will be removed in a future version'