Missing part of 4dd836bab1832b8a87331f2e73356cda4f01e998 #349
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |