Skip to content

changed class based AuthGuard to function based #357

changed class based AuthGuard to function based

changed class based AuthGuard to function based #357

Triggered via push October 6, 2024 08:08
Status Failure
Total duration 2m 33s
Artifacts

deploy-ftp.yml

on: push
.NET Test
12s
.NET Test
Deploy Office App
4s
Deploy Office App
Deploy Web API
1m 52s
Deploy Web API
Deploy Identity Server
1m 36s
Deploy Identity Server
Deploy Admin App
2m 1s
Deploy Admin App
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 20 warnings
Deploy Office App
Some specified paths were not resolved, unable to cache dependencies.
Deploy Identity Server
Error: connect ETIMEDOUT 205.144.171.92:21 (control socket)
Deploy Web API
Error: connect ETIMEDOUT 205.144.171.92:21 (control socket)
Deploy Admin App
Error: connect ETIMEDOUT 205.144.171.92:21 (control socket)
Deploy Office App
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
.NET Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deploy Identity Server
The following actions uses node12 which is deprecated and will be forced to run on node16: SamKirkland/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Deploy Identity Server
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v2, SamKirkland/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deploy Identity Server: src/Server/Logistics.IdentityServer/Pages/Account/Login/Index.cshtml.cs#L74
Possible null reference argument for parameter 'request' in 'Task IIdentityServerInteractionService.DenyAuthorizationAsync(AuthorizationRequest request, AuthorizationError error, string? errorDescription = null)'.
Deploy Identity Server: src/Server/Logistics.IdentityServer/Pages/SecurityHeadersAttribute.cs#L16
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
Deploy Identity Server: src/Server/Logistics.IdentityServer/Pages/SecurityHeadersAttribute.cs#L22
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
Deploy Identity Server: src/Server/Logistics.IdentityServer/Pages/SecurityHeadersAttribute.cs#L35
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
Deploy Identity Server: src/Server/Logistics.IdentityServer/Pages/SecurityHeadersAttribute.cs#L40
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
Deploy Identity Server: src/Server/Logistics.IdentityServer/Pages/SecurityHeadersAttribute.cs#L47
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
Deploy Web API
The following actions uses node12 which is deprecated and will be forced to run on node16: SamKirkland/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Deploy Web API
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v2, SamKirkland/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deploy Web API: src/Server/Logistics.Application.Tenant/Extensions/PushNotificationExtensions.cs#L31
The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern 'Logistics.Shared.Consts.LoadStatus.Dispatched' is not covered.
Deploy Admin App
The following actions uses node12 which is deprecated and will be forced to run on node16: SamKirkland/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Deploy Admin App
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v2, SamKirkland/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deploy Admin App: src/Shared/Logistics.Shared.Consts/Policies/Permissions.cs#L16
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicFields' in call to 'System.Type.GetFields(BindingFlags)'. The parameter 'type' of method 'lambda expression' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
Deploy Admin App: src/Client/Logistics.HttpClient/Registrar.cs#L15
Using member 'Microsoft.Extensions.Configuration.ConfigurationBinder.Get<T>(IConfiguration)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. In case the type is non-primitive, the trimmer cannot statically analyze the object's type so its members may be trimmed.
Deploy Admin App: src/Client/Logistics.HttpClient/Implementations/GenericApiClient.cs#L212
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Deploy Admin App: src/Client/Logistics.HttpClient/Implementations/GenericApiClient.cs#L220
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.