https://github.com/kasperhesthaven/setup-resharper-clt
Action to download ReSharper command line tools by version number and add it to your path
https://github.com/kasperhesthaven/setup-resharper-clt
github-action linting resharper resharper-clt
Last synced: 5 months ago
JSON representation
Action to download ReSharper command line tools by version number and add it to your path
- Host: GitHub
- URL: https://github.com/kasperhesthaven/setup-resharper-clt
- Owner: kasperhesthaven
- License: unlicense
- Created: 2020-06-23T13:18:52.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2023-01-16T20:01:18.000Z (over 3 years ago)
- Last Synced: 2025-11-06T17:08:22.002Z (7 months ago)
- Topics: github-action, linting, resharper, resharper-clt
- Language: TypeScript
- Homepage:
- Size: 279 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Setup ReSharper Command Line Tools
[](https://gitHub.com/kasperhesthaven/setup-resharper-clt/releases/)
[](https://github.com/kasperhesthaven/setup-resharper-clt/blob/master/LICENSE)
[](https://github.com/kasperhesthaven/setup-resharper-clt/actions/workflows/build.yml)
[](https://github.com/kasperhesthaven/setup-resharper-clt/actions/workflows/test_clt.yml)
This action downloads the [ReSharper command line tools](https://www.jetbrains.com/resharper/download/#section=commandline) 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.
## Usage
See [action.yml](action.yml)
Basic workflow:
```yaml
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 -o=
- name: Analyze code
run: InspectCode.sh YourSolution.sln -o=
```
## License
This project is licensed under the Unlicense license - see the [LICENSE.txt](LICENSE.txt) file for details.