From 6c07f56de3732e7092ac6aae4508e4cd7c117d7f Mon Sep 17 00:00:00 2001 From: Jeremy Powell Date: Mon, 2 Dec 2024 12:35:38 +1300 Subject: [PATCH] Check formatting in CI --- .github/workflows/dotnet-desktop.yml | 4 ++++ 1 file changed, 4 insertions(+) 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