This action runs JetBrains Resharper InspectCode with ReSharper Unity plugin installed, prints human-readable output and writes it to inspection.txt
as well as original output to inspection.xml
This action is version of https://github.com/florius0/resharper-ci
Required Path to your solution file, e.g. MyProject.sln"
Path to your .DotSettings
file
Set minimal reported severity level to [INFO, HINT, SUGGESTION, WARNING, ERROR]. Default to WARNING default: "WARNING"
Semicolon-separated list of relative paths or wildcards that define the files to include during the inspection
Semicolon-separated list of relative paths or wildcards that define the files to exclude during the inspection
Semicolon-separated list of IssueType Ids that will be ignored
Should project be builded before checks, defaults to true
Hides output of build ('dotnet build') and resharper ('jb inspectcode ...'), defautls to true
name: InspectMaster
on:
push:
branches: [ master ]
jobs:
self-test:
runs-on: ubuntu-latest
name: Self Test
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Inspect
uses: florius0/resharper-unity-ci
with:
solution: './MyProject.sln'
Inspired by https://github.com/nbadal/inspectcode-action