forked from TeamInklings/Octobot
b2879ad35a
Bumps [muno92/resharper_inspectcode](https://github.com/muno92/resharper_inspectcode) from 1.8.4 to 1.9.0. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
31 lines
753 B
YAML
31 lines
753 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@v4
|
|
|
|
- name: ReSharper CLI InspectCode
|
|
uses: muno92/resharper_inspectcode@1.9.0
|
|
with:
|
|
solutionPath: ./Octobot.sln
|
|
ignoreIssueType: InvertIf, ConvertIfStatementToSwitchStatement
|
|
extensions: ReSharperPlugin.CognitiveComplexity
|
|
solutionWideAnalysis: true
|