Skip to content

ci: add coverity scan action#353

Merged
nashif merged 1 commit into
zephyrproject-rtos:mainfrom
nashif:topic/ci/coverity
May 29, 2025
Merged

ci: add coverity scan action#353
nashif merged 1 commit into
zephyrproject-rtos:mainfrom
nashif:topic/ci/coverity

Conversation

@nashif

@nashif nashif commented May 29, 2025

Copy link
Copy Markdown
Member

Add an action for scanning using scan.coverity.com.

Signed-off-by: Anas Nashif anas.nashif@intel.com

Add an action for scanning using scan.coverity.com.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
pip install -r scripts/requirements-actions.txt --require-hashes

- name: Setup Zephyr project
uses: nashif/action-zephyr-setup@main

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Code Scanning' step
Uses Step
uses 'nashif/action-zephyr-setup' with ref 'main', not a pinned commit hash
west-project-filter: -nrf_hw_models

- name: SCA Setup
uses: zephyrproject-rtos/action-sca-setup@main

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Coverity Code Scanning' step
Uses Step
uses 'zephyrproject-rtos/action-sca-setup' with ref 'main', not a pinned commit hash
echo "PAYLOAD_DESC=${ver}" >> $GITHUB_ENV

- name: Analyze
uses: zephyrproject-rtos/action-sca-setup/analyze@main

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Coverity Code Scanning' step
Uses Step
uses 'zephyrproject-rtos/action-sca-setup/analyze' with ref 'main', not a pinned commit hash
@nashif nashif merged commit 149613e into zephyrproject-rtos:main May 29, 2025
19 of 22 checks passed
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants