Files
actions/csharp-lint-check/README.md
Ismo Vuorinen 7061aafd35 chore: add tests, update docs and actions (#299)
* docs: update documentation

* feat: validate-inputs has it's own pyproject

* security: mask DOCKERHUB_PASSWORD

* chore: add tokens, checkout, recrete docs, integration tests

* fix: add `statuses: write` permission to pr-lint
2025-10-18 13:09:19 +03:00

1.1 KiB

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

- 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: ""