Improve your code quality by running dozens of the most popular and effective static code analysis tools at once from one simple action. The supported tools cover many popular programming, scripting, and documentation languages.
This GitHub Action uses the Statick static code analysis tool.
The action inputs mirror the command line arguments for the CLI version of Statick, and much more detail about the powerful Statick configuration options is available in the README of the above repository.
Any discovered Statick issue fails the action. Default true
.
Setting this input to false
may be useful to allow the workflow to work through all steps while debugging.
The Statick config file to use. Default: config.yaml
.
The Statick log level to use. Default: INFO
.
Where to write Statick logs. Default: /tmp/statick_output
.
Where Statick should look for files to perform static analysis on. Default: .
The Statick profile file to use. Default: profile.yaml
.
Output timing information to stdout. Default false
.
Scan all packages using this level. Overrides all levels set from the profile.
Where to look for user-provided Statick configuration. Default: empty string.
The minimal use of statick-action
, presuming some code is present in the workflow workspace is:
uses: actions/statick-action
More advanced usage, including use of specific profiles, configurations, and user-specified resources can be viewed in the self-test workflow in this repository.