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 GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
log_levelLogging levelnoDEBUG
projectProject name in Coverity Connect, if not given then default=github.repositoryno${{github.repository}}
streamProject stream name in Coverity Connect, if not given then default=github.ref_nameno${{github.ref_name}}
cov_versionWhat version of Coverity Analysis is needed, example: cov-analysis-linux64-2024.3.1nocov-analysis-linux64-2024.3.1
cov_urlURL for Coverity Connect where the analysis tar file can be downloadedyes
cov_usernameCoverity Connect usernameyes
cov_passwordCoverity Connect passwordyes
cov_licenseLicense 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_folderTo which folder the tools are extractedno/tmp/cache/coverity
cov_remove_foldersWith 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)noarchitecture-analysis sdk dynamic-analysis forcheck doc
cov_configuresWith 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)nocov-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_dirIntermediate directoryno${{github.workspace}}/idir
cov_output_formatWith 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_outputWhat 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
cacheCoverity 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_existsCreate project and stream if they do not existsnofalse

no outputs