Skip to content

Commit

Permalink
Update dotnet-format.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiuh committed Dec 29, 2023
1 parent 56fe868 commit b08f44f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/dotnet-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
run: dotnet csharpier 'JamGame\Assets\Scripts\' --check

0 comments on commit b08f44f

Please sign in to comment.