Make Resharper inspections fail CI job

As per https://github.com/ppy/osu-framework/pull/4514.
This commit is contained in:
smoogipoo 2021-06-16 13:22:46 +09:00
parent 3ef3e33876
commit 451ce04d19
2 changed files with 4 additions and 6 deletions

View File

@ -14,8 +14,8 @@
"jb"
]
},
"nvika": {
"version": "2.0.0",
"smoogipoo.nvika": {
"version": "1.0.1",
"commands": [
"nvika"
]

View File

@ -89,7 +89,5 @@ jobs:
- name: InspectCode
run: dotnet jb inspectcode $(pwd)/osu.Desktop.slnf --output=$(pwd)/inspectcodereport.xml --cachesDir=$(pwd)/inspectcode --verbosity=WARN
- name: ReSharper
uses: glassechidna/resharper-action@master
with:
report: ${{github.workspace}}/inspectcodereport.xml
- name: NVika
run: dotnet nvika parsereport "${{github.workspace}}/inspectcodereport.xml" --treatwarningsaserrors