Skip to content

Commit da85a95

Browse files
committed
add sca action
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent d6f5248 commit da85a95

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/sca.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Code Scanning
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
push:
7+
branches:
8+
- main
9+
- v*-branch
10+
- collab-*
11+
permissions:
12+
contents: read
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
Codechecker:
19+
if: github.repository_owner == 'zephyrproject-rtos'
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23+
with:
24+
fetch-depth: 0
25+
persist-credentials: false
26+
27+
- name: SCA Setup
28+
uses: zephyrproject-rtos/action-sca-setup@main
29+
with:
30+
tool-name: coverity
31+
install-dir: coverity
32+
s3-access_key_id: ${{ secrets.TOOLDIST_ACCESS_KEY }}
33+
s3-secret-access_key: ${{ secrets.TOOLDIST_SECRET_ACCESS_KEY }}
34+
35+
- name: Check Env
36+
run: |
37+
ls -la
38+
ls -la coverity/
39+

0 commit comments

Comments
 (0)