Skip to content

Commit ea0a1af

Browse files
committed
add format check action
1 parent 1ff8ca3 commit ea0a1af

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/format.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Format check
2+
on:
3+
push:
4+
5+
jobs:
6+
format_check:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout repo
10+
uses: actions/checkout@v4
11+
- name: Setup .NET Core
12+
uses: actions/setup-dotnet@v4
13+
with:
14+
dotnet-version: 8.0.x
15+
- name: Install dotnet tools
16+
run: dotnet tool restore
17+
- name: Check formatting
18+
run: dotnet format whitespace ArtNet-Unity.sln --verify-no-changes

0 commit comments

Comments
 (0)