gitbyg4v/Golangci-lint

Official golangci-lint action with line-attached annotations for found issues, caching and parallel execution.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionThe version of golangci-lint to use. When `install-mode` is: - `binary` (default): the value can be v1.2 or v1.2.3 or `latest` to use the latest version. - `goinstall`: the value can be v1.2.3, `latest`, or the hash of a commit. - `none`: the value is ignored. no
install-modeThe mode to install golangci-lint. It can be 'binary', 'goinstall', or 'none'.nobinary
working-directorygolangci-lint working directory, default is project rootno
github-tokenthe token is used for fetching patch of a pull request to show only new issuesno${{ github.token }}
verifyif set to true and the action verify the configuration file against the JSONSchemanotrue
only-new-issuesif set to true and the action runs on a pull request - the action outputs only newly found issuesnofalse
skip-cacheif set to true then the all caching functionality will be complete disabled, takes precedence over all other caching options. nofalse
skip-save-cacheif set to true then the action will not save any caches, but it may still restore existing caches, subject to other options. nofalse
problem-matchersForce the usage of the embedded problem matchersnofalse
argsgolangci-lint command line argumentsno""
cache-invalidation-intervalPeriodically invalidate a cache because a new code being added. (number of days)no7

no outputs