File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,25 @@ name: ci-build
33on : [pull_request]
44
55jobs :
6+ verify_formatting :
7+ runs-on : ubuntu-latest
8+ name : Verify code formatting
9+
10+ steps :
11+ - name : checkout-code
12+ uses : actions/checkout@v3
13+ with :
14+ fetch-depth : 0
15+
16+ - name : setup-dotnet
17+ uses : actions/setup-dotnet@v3
18+
19+ - name : tool restore
20+ run : dotnet tool restore
21+
22+ - name : validate formatting
23+ run : dotnet fantomas . --check
24+
625 build :
726 name : Build
827 runs-on : windows-latest
1231 uses : actions/checkout@v3
1332 with :
1433 fetch-depth : 0
34+
1535 # setup dotnet based on global.json
1636 - name : setup-dotnet
1737 uses : actions/setup-dotnet@v3
38+
1839 # build it, test it, pack it
1940 - name : Run dotnet build (release)
2041 # see issue #105
You can’t perform that action at this time.
0 commit comments