Debian Codegraph @

.github/workflows/coverity.yml

raw
1 # GitHub actions workflow.
2 # https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
3
4 # https://scan.coverity.com/projects/openrc-openrc
5 name: Coverity Scan
6
7 on:
8 push:
9 branches: [master]
10
11 jobs:
12 coverity:
13 runs-on: ubuntu-24.04
14 steps:
15 - uses: actions/checkout@v2
16 - run: sudo apt-get update -q
17 - run: sudo apt-get install -q -y build-essential libpam-dev meson libcap-dev
18 - run: meson setup builddir/
19 env:
20 CC: gcc
21 - uses: vapier/coverity-scan-action@v1
22 with:
23 command: ninja -C builddir
24 email: ${{ secrets.COVERITY_SCAN_EMAIL }}
25 token: ${{ secrets.COVERITY_SCAN_TOKEN }}