Skip to content

Migrate to GitHub Actions and implement source-based versioning #28

Migrate to GitHub Actions and implement source-based versioning

Migrate to GitHub Actions and implement source-based versioning #28

Triggered via pull request June 11, 2026 10:13
Status Failure
Total duration 41s
Artifacts

ci.yml

on: pull_request
build-and-test
35s
build-and-test
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build-and-test
Process completed with exit code 1.
build-and-test: src/Dax.Formatter/DaxFormatterClient.cs#L60
In externally visible method 'Task<IReadOnlyList<DaxFormatterResponse>> DaxFormatterClient.FormatAsync(DaxFormatterMultipleRequest request, CancellationToken cancellationToken = default(CancellationToken))', validate parameter 'request' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
build-and-test: src/Dax.Formatter/DaxFormatterClient.cs#L54
In externally visible method 'Task<DaxFormatterResponse?> DaxFormatterClient.FormatAsync(DaxFormatterSingleRequest request, CancellationToken cancellationToken = default(CancellationToken))', validate parameter 'request' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
build-and-test: src/Dax.Formatter/Security/SecurityHelpers.cs#L19
Prefer static 'System.Security.Cryptography.SHA256.HashData' method over 'ComputeHash' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1850)
build-and-test: src/Dax.Formatter/Security/SecurityHelpers.cs#L22
The behavior of 'byte.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'string.ToHashSHA256()' with a call to 'byte.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
build-and-test: src/Dax.Formatter/Models/DaxFormatterSeparatorStyle.cs#L5
Remove the underscores from member name Dax.Formatter.Models.DaxFormatterSeparatorStyle.US_UK (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
build-and-test: src/Dax.Formatter/Models/DaxFormatterResponse.cs#L9
Change 'List<DaxFormatterError>' in 'DaxFormatterResponse.Errors' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
build-and-test: src/Dax.Formatter/Models/DaxFormatterResponse.cs#L9
Change 'Errors' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build-and-test: src/Dax.Formatter/Models/DaxFormatterRequest.cs#L9
Abstract type 'DaxFormatterRequest' should not have public constructors (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1012)
build-and-test: src/Dax.Formatter/Models/DaxFormatterMultipleRequest.cs#L18
Change 'List<string>' in 'DaxFormatterMultipleRequest.Dax' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
build-and-test: src/Dax.Formatter/Models/DaxFormatterMultipleRequest.cs#L18
Change 'Dax' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)