Skip to content

Commit 4962180

Browse files
authored
Merge pull request #7726 from embhorn/coverity-workflow
Add Coverity scan workflow
2 parents 898815f + f4b603f commit 4962180

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Coverity Scan master branch on a weekly basis
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 0,12 * * *"
7+
# - cron: "0 0 * * 1"
8+
#on:
9+
# push:
10+
# branches: [ 'master', 'main', 'release/**' ]
11+
12+
jobs:
13+
coverity:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
ref: master
19+
20+
- name: Configure wolfSSL
21+
run: |
22+
./autogen.sh
23+
./configure --enable-all
24+
25+
- name: Check secrets
26+
env:
27+
token_var: ${{ secrets.COVERITY_SCAN_TOKEN }}
28+
email_var: ${{ secrets.COVERITY_SCAN_EMAIL }}
29+
run: |
30+
token_len=${#token_var}
31+
echo "$token_len"
32+
email_len=${#email_var}
33+
echo "$email_len"
34+
35+
- uses: vapier/coverity-scan-action@v1
36+
with:
37+
build_language: 'cxx'
38+
project: "wolfSSL/wolfssl"
39+
token: ${{ secrets.COVERITY_SCAN_TOKEN }}
40+
email: ${{ secrets.COVERITY_SCAN_EMAIL }}
41+
command: "make"

0 commit comments

Comments
 (0)