Skip to content

Commit

Permalink
Make Resharper inspections fail CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
smoogipoo committed Jun 16, 2021
1 parent 3ef3e33 commit 451ce04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"jb"
]
},
"nvika": {
"version": "2.0.0",
"smoogipoo.nvika": {
"version": "1.0.1",
"commands": [
"nvika"
]
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 451ce04

Please sign in to comment.