This action downloads the ReSharper command line tools by version number and adds it to your path, enabling you to:
- Use ReSharper CleanupCode to instantly eliminate code style violations in a project or solution and ensure a uniform code base.
- Use ReSharper dupFinder to find duplicates in C# and Visual Basic .NET code
- Use ReSharper InspectCode to apply ReSharper inspections across your codebase & see results in XML.
See action.yml
Basic workflow:
steps:
- name: Checkout repository
uses: actions/checkout@v2.3.4
- name: Install ReSharper CLT
uses: kasperhesthaven/setup-resharper-clt@v1.1.0
with:
resharper-version: "2020.3.3" # CLT Version to use, defaults to 2020.3.3
- name: Clean up code
run: cleanupcode.sh YourSolution.sln
- name: Find duplicate code
run: dupFinder.sh <source> -o=<PathToOutputFile>
- name: Analyze code
run: InspectCode.sh YourSolution.sln -o=<PathToOutputFile>
This project is licensed under the Unlicense license - see the LICENSE.txt file for details.