Skip to content

Fix formatting and add style check to workflow #59

Fix formatting and add style check to workflow

Fix formatting and add style check to workflow #59

Triggered via push May 29, 2024 18:21
Status Failure
Total duration 43s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
build: src/Core/obj/Debug/.net8/generated/Builders/Mielek.Azure.ApiManagement.PolicyToolkit.Generators.Builder.BuilderSettersGenerator/InvokeDaprBindingPolicyBuilder.Builder.cs#L13
A readonly field cannot be assigned to (except in a constructor or init-only setter of the type in which the field is defined or a variable initializer)
build: src/Core/obj/Debug/.net8/generated/Builders/Mielek.Azure.ApiManagement.PolicyToolkit.Generators.Builder.BuilderSettersGenerator/InvokeDaprBindingPolicyBuilder.Builder.cs#L19
A readonly field cannot be assigned to (except in a constructor or init-only setter of the type in which the field is defined or a variable initializer)
build: src/Core/obj/Debug/.net8/generated/Builders/Mielek.Azure.ApiManagement.PolicyToolkit.Generators.Builder.BuilderSettersGenerator/AuthenticationBasicPolicyBuilder.Builder.cs#L13
A readonly field cannot be assigned to (except in a constructor or init-only setter of the type in which the field is defined or a variable initializer)
build: src/Core/obj/Debug/.net8/generated/Builders/Mielek.Azure.ApiManagement.PolicyToolkit.Generators.Builder.BuilderSettersGenerator/AuthenticationBasicPolicyBuilder.Builder.cs#L19
A readonly field cannot be assigned to (except in a constructor or init-only setter of the type in which the field is defined or a variable initializer)
build: src/Core/obj/Debug/.net8/generated/Builders/Mielek.Azure.ApiManagement.PolicyToolkit.Generators.Builder.BuilderSettersGenerator/CacheStorePolicyBuilder.Builder.cs#L13
A readonly field cannot be assigned to (except in a constructor or init-only setter of the type in which the field is defined or a variable initializer)
build: src/Core/obj/Debug/.net8/generated/Builders/Mielek.Azure.ApiManagement.PolicyToolkit.Generators.Builder.BuilderSettersGenerator/CacheStorePolicyBuilder.Builder.cs#L19
A readonly field cannot be assigned to (except in a constructor or init-only setter of the type in which the field is defined or a variable initializer)
build: src/Core/obj/Debug/.net8/generated/Builders/Mielek.Azure.ApiManagement.PolicyToolkit.Generators.Builder.BuilderSettersGenerator/CacheStorePolicyBuilder.Builder.cs#L25
A readonly field cannot be assigned to (except in a constructor or init-only setter of the type in which the field is defined or a variable initializer)
build: src/Core/obj/Debug/.net8/generated/Builders/Mielek.Azure.ApiManagement.PolicyToolkit.Generators.Builder.BuilderSettersGenerator/CheckHeaderPolicyBuilder.Builder.cs#L13
A readonly field cannot be assigned to (except in a constructor or init-only setter of the type in which the field is defined or a variable initializer)
build: src/Core/obj/Debug/.net8/generated/Builders/Mielek.Azure.ApiManagement.PolicyToolkit.Generators.Builder.BuilderSettersGenerator/CheckHeaderPolicyBuilder.Builder.cs#L19
A readonly field cannot be assigned to (except in a constructor or init-only setter of the type in which the field is defined or a variable initializer)
build: src/Core/obj/Debug/.net8/generated/Builders/Mielek.Azure.ApiManagement.PolicyToolkit.Generators.Builder.BuilderSettersGenerator/CheckHeaderPolicyBuilder.Builder.cs#L25
A readonly field cannot be assigned to (except in a constructor or init-only setter of the type in which the field is defined or a variable initializer)
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: src/Core/Builders/Policies/RateLimitPolicyBuilder.cs#L93
'RateLimitWithIdentificationBuilder<T>.Id(string)' hides inherited member 'BaseBuilder<RateLimitBaseBuilder<T>>.Id(string)'. Use the new keyword if hiding was intended.
build: src/Core/Compilation/CSharpPolicyCompiler.cs#L32
Possible null reference argument for parameter 'block' in 'XElement CSharpPolicyCompiler.CompileSection(string section, BlockSyntax block)'.