update to identity for deployment #43
build_test_and_release.yml
on: push
build-and-test
56s
build-and-deploy
4m 21s
Annotations
24 warnings
build-and-test
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
build-and-test:
LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
|
build-and-test:
LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(string message, Exception innerException). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
|
build-and-test:
LuasAPI.NET/LuasAPI.cs#L9
The type name LuasApi conflicts in whole or in part with the namespace name 'LuasAPI'. Change either name to eliminate the conflict. (https://docs.microsoft.com/visualstudio/code-quality/ca1724-type-names-should-not-match-namespaces)
|
build-and-test:
LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
|
build-and-test:
LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(string message, Exception innerException). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
|
build-and-test:
LuasAPI.NET/LuasAPI.cs#L9
The type name LuasApi conflicts in whole or in part with the namespace name 'LuasAPI'. Change either name to eliminate the conflict. (https://docs.microsoft.com/visualstudio/code-quality/ca1724-type-names-should-not-match-namespaces)
|
build-and-test:
LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
|
build-and-test:
LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(string message, Exception innerException). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
|
build-and-test:
LuasAPI.NET/Models/TramForecast.cs#L38
In externally visible method 'TramForecast TramForecast.CreateTramForecastFromTramXml(TramXml tramXml, Stations stations)', validate parameter 'stations' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (https://docs.microsoft.com/visualstudio/code-quality/ca1062-validate-arguments-of-public-methods)
|
build-and-test
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
build-and-test
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
|
build-and-deploy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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-and-deploy
The following actions uses node12 which is deprecated and will be forced to run on node16: 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-deploy:
LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
|
build-and-deploy:
LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(string message, Exception innerException). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
|
build-and-deploy:
LuasAPI.NET/Infrastructure/LuasForecastApiClient.cs#L28
Cache a 'CompositeFormat' for repeated use in this formatting operation (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1863)
|
build-and-deploy:
LuasAPI.NET/LuasAPI.cs#L36
Change type of variable 'client' from 'LuasAPI.NET.Infrastructure.IForecastClient' to 'LuasAPI.NET.Infrastructure.LuasForecastApiClient' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
build-and-deploy:
LuasAPI.NET/Models/TimeConverter.cs#L30
In externally visible method 'void TimeConverter.Write(Utf8JsonWriter writer, TimeSpan value, JsonSerializerOptions options)', validate parameter 'writer' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (https://docs.microsoft.com/visualstudio/code-quality/ca1062-validate-arguments-of-public-methods)
|
build-and-deploy:
LuasAPI.NET/Models/TramForecast.cs#L38
In externally visible method 'TramForecast TramForecast.CreateTramForecastFromTramXml(TramXml tramXml, Stations stations)', validate parameter 'stations' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (https://docs.microsoft.com/visualstudio/code-quality/ca1062-validate-arguments-of-public-methods)
|
build-and-deploy:
LuasAPI.NET/LuasAPI.cs#L9
The type name LuasApi conflicts in whole or in part with the namespace name 'LuasAPI'. Change either name to eliminate the conflict. (https://docs.microsoft.com/visualstudio/code-quality/ca1724-type-names-should-not-match-namespaces)
|
build-and-deploy:
LuasAPI.AzureFunction/LuasApiFunction.cs#L60
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
|
build-and-deploy:
LuasAPI.AzureFunction/LuasApiFunction.cs#L34
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
|
build-and-deploy:
LuasAPI.AzureFunction/LuasApiFunction.cs#L22
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
|