zyactions/ZyAction: .NET Lint

A GitHub Action to lint .NET projects.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
working-directoryThe working-directory for the action. Defaults to the repository root directory (`github.workspace`). If a specific .NET SDK version is to be used, the working directory must point to the directory that contains the `global.json` or a subdirectory of it. no${{ github.workspace }}
workspaceThe Visual Studio workspace (directory, project- or solution-file). This path is relative to the `working-directory` unless an absolute path is used. no""
diagnosticsA newline-separated list of diagnostic IDs to use as a filter when linting code style or third-party issues. Supports multiline strings. Default value is whichever IDs are listed in the `.editorconfig` file. no""
severityThe minimum severity of diagnostics to lint. Possible values: - info - warn - error The default value is `warn`. no""
includeA newline-separated list of relative file or folder paths to include in linting. The default is all files in the solution or project. Use `-` to read the list of files from the `pipe` input. no""
excludeA newline-separated list of relative file or folder paths to exclude from linting. The default is none. Use `-` to read the list of files from the `pipe` input. no""
report-pathProduces a JSON report in the specified directory.no""
implicit-restoreExecute an implicit restore before linting.nofalse
use-standalone-toolUses the standalone version of the `dotnet-format` tool instead of the version bundled with the .NET SDK. nofalse
pipeAn optional pipe input from which the `include` or `exclude` filenames are to be read. This must be set to a valid shell command line (bash) that can be used for piping. The command must output to `stdout` and separate the individual filenames by line breaks. WARNING: The command passed to this input will be evaluated and should not come from untrusted sources. no""

no outputs