forked from TeamInklings/Octobot
31 lines
755 B
YAML
31 lines
755 B
YAML
name: "ReSharper"
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
merge_group:
|
|
types: [ checks_requested ]
|
|
|
|
jobs:
|
|
inspect-code:
|
|
name: Inspect code
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: ReSharper CLI InspectCode
|
|
uses: muno92/resharper_inspectcode@1.8.2
|
|
with:
|
|
solutionPath: ./Boyfriend.sln
|
|
ignoreIssueType: InvertIf, ConvertIfStatementToSwitchStatement
|
|
extensions: ReSharperPlugin.CognitiveComplexity
|
|
solutionWideAnalysis: true
|