# ivuorinen/actions/csharp-lint-check ## C# Lint Check ### Description Runs linters like StyleCop or dotnet-format for C# code style checks. ### Inputs | name | description | required | default | |------------------|----------------------------------------|----------|---------| | `dotnet-version` |

Version of .NET SDK to use.

| `false` | `""` | | `token` |

GitHub token for authentication

| `false` | `""` | ### Outputs | name | description | |------------------|----------------------------------------------| | `lint_status` |

Overall lint status (success/failure)

| | `errors_count` |

Number of formatting errors found

| | `warnings_count` |

Number of formatting warnings found

| ### Runs This action is a `composite` action. ### Usage ```yaml - uses: ivuorinen/actions/csharp-lint-check@main with: dotnet-version: # Version of .NET SDK to use. # # Required: false # Default: "" token: # GitHub token for authentication # # Required: false # Default: "" ```