- This project makes use of resharper_inspectcode action convenient to use for Unity repos that require solution files generation.
- For each pull request this workflow will generate a solution file for your Unity project, run reSharper Inspect code and provide it's output as PR comments.
- Everything runs on GitHub runner (for free).
- Fork this repository
- Modify or add new
.csfile - Create a PR (to your new repo)
- Watch workflow run and comment your code style in PR's "Files" section
- Put
check_code_style.yamlto your repo.github/workflows - Open
check_code_style.yamland modifyPROJECT_NAME
(It's the name of a directory of your Unity project) - Modify
PROJECT_PATH
(If your Assets directory is in the repo's root - put"."as project path.) - Set up GitHub secrets
UNITY_EMAIL,UNITY_PASSWORD,UNITY_SERIAL - Code style rules should be defined in
{project_name}.DotSettingsfile in Unity project directory - The inspection step could be set up according to the documentation
Unity Pro+ license.
Unity Personal license activation details are here.
Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Kirill Kostenkov - contacts
