mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-01-31 09:09:00 +03:00
36 lines
750 B
YAML
36 lines
750 B
YAML
name: "ReSharper"
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
jobs:
|
|
inspect-code:
|
|
name: Inspect code
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Restore dependencies and tools
|
|
run: dotnet restore
|
|
|
|
- name: ReSharper CLI InspectCode
|
|
uses: muno92/resharper_inspectcode@1.6.6
|
|
with:
|
|
solutionPath: ./Boyfriend-CSharp.sln
|
|
ignoreIssueType: InvertIf
|
|
solutionWideAnalysis: true
|