Merge pull request #7726 from embhorn/coverity-workflow
Add Coverity scan workflow
This commit is contained in:
commit
4962180a93
41
.github/workflows/coverity-scan-fixes.yml
vendored
Normal file
41
.github/workflows/coverity-scan-fixes.yml
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
name: Coverity Scan master branch on a weekly basis
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 0,12 * * *"
|
||||
# - cron: "0 0 * * 1"
|
||||
#on:
|
||||
# push:
|
||||
# branches: [ 'master', 'main', 'release/**' ]
|
||||
|
||||
jobs:
|
||||
coverity:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: master
|
||||
|
||||
- name: Configure wolfSSL
|
||||
run: |
|
||||
./autogen.sh
|
||||
./configure --enable-all
|
||||
|
||||
- name: Check secrets
|
||||
env:
|
||||
token_var: ${{ secrets.COVERITY_SCAN_TOKEN }}
|
||||
email_var: ${{ secrets.COVERITY_SCAN_EMAIL }}
|
||||
run: |
|
||||
token_len=${#token_var}
|
||||
echo "$token_len"
|
||||
email_len=${#email_var}
|
||||
echo "$email_len"
|
||||
|
||||
- uses: vapier/coverity-scan-action@v1
|
||||
with:
|
||||
build_language: 'cxx'
|
||||
project: "wolfSSL/wolfssl"
|
||||
token: ${{ secrets.COVERITY_SCAN_TOKEN }}
|
||||
email: ${{ secrets.COVERITY_SCAN_EMAIL }}
|
||||
command: "make"
|
Loading…
x
Reference in New Issue
Block a user