lejouni/Coverity tools for local analysis
Will download the given version of Coverity Analysis tools from given Coverity Connect and extract them into given folder. Will also add Coverity analysis tools into current runner PATH
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| log_level | Logging level | no | DEBUG |
| project | Project name in Coverity Connect, if not given then default=github.repository | no | ${{github.repository}} |
| stream | Project stream name in Coverity Connect, if not given then default=github.ref_name | no | ${{github.ref_name}} |
| cov_version | What version of Coverity Analysis is needed, example: cov-analysis-linux64-2024.3.1 | no | cov-analysis-linux64-2024.3.1 |
| cov_url | URL for Coverity Connect where the analysis tar file can be downloaded | yes | — |
| cov_username | Coverity Connect username | yes | — |
| cov_password | Coverity Connect password | yes | — |
| cov_license | License content from secrets.COVERITY_LICENSE. License is needed for analysis. If license content is not given, then the license.dat will be downloaded from the Coverity Connect Downloads. | no | — |
| cov_install_folder | To which folder the tools are extracted | no | /tmp/cache/coverity |
| cov_remove_folders | With this you can give space separated list of folders which you will not need from Coverity Analysis and that way safe some space. (by default are removed architecture-analysis sdk dynamic-analysis forcheck doc) | no | architecture-analysis sdk dynamic-analysis forcheck doc |
| cov_configures | With this you can configure Coverity Analysis. (by default cov-configure --java && cov-configure --javascript && cov-configure --python && cov-configure --kotlin && cov-configure --gcc --xml-option=prepend_arg:--ppp_translator --xml-option=prepend_arg:"replace/#\s*error \"Do not include _sd-common.h directly; it is a private header.\"/" && cov-configure --template --compiler c++ --comptype gcc && cov-configure --template --compiler cc --comptype gcc) | no | cov-configure --java && cov-configure --javascript && cov-configure --python && cov-configure --kotlin && cov-configure --gcc --xml-option=prepend_arg:--ppp_translator --xml-option=prepend_arg:"replace/#\s*error \"Do not include _sd-common.h directly; it is a private header.\"/" && cov-configure --template --compiler c++ --comptype gcc && cov-configure --template --compiler cc --comptype gcc |
| cov_intermediate_dir | Intermediate directory | no | ${{github.workspace}}/idir |
| cov_output_format | With this you can specify that do you want to have output as a json, sarif or html format. If not given, then no output file created. Options are json, sarif or html. | no | — |
| cov_output | What is wanted as an output. Html case, output must be folder with fullpath where you want to html report to be created, json case outoput must be json file with full path and sarif case it must be sarif file with full path. | no | — |
| cache | Coverity tools and Intermediate directory can be cached. Options coverity, idir and all. Coverity will only cache Coverity tools, idir will cache only intermediate dir and all will cache both. | no | — |
| create_if_not_exists | Create project and stream if they do not exists | no | false |
Outputs
no outputs