Skip to content

Commit

Permalink
Enforce formatting checks in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-visionaid committed Dec 1, 2024
1 parent 060d59c commit 36f2539
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion OpenMcdf/System/NullableAttributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,4 +197,4 @@ public MemberNotNullWhenAttribute(bool returnValue, params string[] members)

/// <summary>Gets field or property member names.</summary>
public string[] Members { get; }
}
}

0 comments on commit 36f2539

Please sign in to comment.