mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-04-04 08:50:12 -05:00
27 lines
672 B
YAML
27 lines
672 B
YAML
name: Coverity Scan
|
|
|
|
on:
|
|
push:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
coverity:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
token: ${{secrets.COVERITY_SCAN_TOKEN}}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
if: env.token
|
|
- name: Get ready for scanning
|
|
if: env.token
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y libssl-dev libcurl4-openssl-dev
|
|
cmake -S ${{github.workspace}} -B ${{github.workspace}}/build
|
|
- uses: vapier/coverity-scan-action@v1
|
|
if: env.token
|
|
with:
|
|
email: ${{secrets.COVERITY_SCAN_EMAIL}}
|
|
token: ${{secrets.COVERITY_SCAN_TOKEN}}
|
|
command: make -C ${{github.workspace}}/build
|