Run format check in CI.

This commit is contained in:
Huo Yaoyuan 2019-11-24 16:53:57 +08:00
parent fbb83045f3
commit 18840c6319
2 changed files with 10 additions and 0 deletions

View File

@ -13,6 +13,12 @@
"commands": [
"dotnet-format"
]
},
"codefilesanity": {
"version": "0.0.33",
"commands": [
"CodeFileSanity"
]
}
}
}

View File

@ -8,6 +8,10 @@ build:
project: osu.sln
parallel: true
verbosity: minimal
after_build:
- ps: dotnet tool restore
- ps: dotnet CodeFileSanity
- ps: dotnet format --dry-run --check
test:
assemblies:
except: