Skip to content

Commit

Permalink
Add formatting to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
henneboy committed Nov 6, 2024
1 parent d610ea2 commit fa79d92
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,23 @@ jobs:
with:
name: Build-${{ matrix.targetPlatform }}
path: build



format:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
lfs: true
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Format CustomScriptsAssembly.csproj
run: dotnet format CustomScriptsAssembly.csproj --verify-no-changes --verbosity diagnostic
- name: Format PlayModeTests.csproj
run: dotnet format PlayModeTests.csproj --verify-no-changes --verbosity diagnostic
- name: Format EditTests.csproj
run: dotnet format EditTests.csproj --verify-no-changes --verbosity diagnostic

0 comments on commit fa79d92

Please sign in to comment.