diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml index 3a4be3e..8930bb9 100644 --- a/.github/workflows/dotnet-desktop.yml +++ b/.github/workflows/dotnet-desktop.yml @@ -32,6 +32,10 @@ jobs: with: dotnet-version: 8.0.x + # Check formatting + - name: Check formatting + run: dotnet format --verify-no-changes $env:Solution_Name + # Execute all unit tests in the solution - name: Execute unit tests run: dotnet test --logger "GitHubActions;summary.includePassedTests=true;summary.includeSkippedTests=true" $env:Solution_Name diff --git a/OpenMcdf/System/NullableAttributes.cs b/OpenMcdf/System/NullableAttributes.cs index d62a560..d828af5 100644 --- a/OpenMcdf/System/NullableAttributes.cs +++ b/OpenMcdf/System/NullableAttributes.cs @@ -197,4 +197,4 @@ public MemberNotNullWhenAttribute(bool returnValue, params string[] members) /// Gets field or property member names. public string[] Members { get; } -} \ No newline at end of file +}