From b08f44ff25eab5c4f44a7adbdedbde09b42e3b65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0=D0=B9=20=D0=A5=D0=B8?= =?UTF-8?q?=D0=BC=D0=B8=D1=87?= <30412223+Kiuh@users.noreply.github.com> Date: Fri, 29 Dec 2023 20:56:41 +0300 Subject: [PATCH] Update dotnet-format.yml --- .github/workflows/dotnet-format.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-format.yml b/.github/workflows/dotnet-format.yml index b2b3c5e9..9fb3c314 100644 --- a/.github/workflows/dotnet-format.yml +++ b/.github/workflows/dotnet-format.yml @@ -28,8 +28,18 @@ jobs: ls -a -l JamGame cat JamGame/.editorconfig + - name: Install csharpier locally + run: | + dotnet new tool-manifest + dotnet tool install --local csharpier + + - name: Check versions + run: | + dotnet format --version + dotnet csharpier --version + - name: Run dotnet format run: dotnet format JamGame/JamGame.csproj --verify-no-changes --include JamGame/Assets/Scripts -v d - name: Run csharpier format - run: dotnet-csharpier 'JamGame\Assets\Scripts\' --check \ No newline at end of file + run: dotnet csharpier 'JamGame\Assets\Scripts\' --check \ No newline at end of file