mirror of
https://github.com/stefanberger/libtpms
synced 2025-08-26 13:14:36 +00:00

Trigger the coverity scan workflow when pushing to coverity_scan branch. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
23 lines
505 B
YAML
23 lines
505 B
YAML
name: Coverity Scan
|
|
|
|
on:
|
|
push:
|
|
branches: ["coverity_scan"]
|
|
|
|
jobs:
|
|
coverity:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Configure libtpms
|
|
run: ./autogen.sh --with-openssl --prefix=/usr --with-tpm2
|
|
|
|
- uses: vapier/coverity-scan-action@v1
|
|
with:
|
|
command: make -j$(nproc)
|
|
project: libtpms
|
|
email: ${{ secrets.COVERITY_SCAN_EMAIL }}
|
|
token: ${{ secrets.COVERITY_SCAN_TOKEN }}
|