Debian Codegraph @

.github/workflows/coverity.yml

raw symbols SCIP
1 ---
2 # vi: ts=2 sw=2 et:
3 # SPDX-License-Identifier: LGPL-2.1-or-later
4 #
5 name: Coverity
6
7 on:
8 workflow_dispatch:
9 schedule:
10 # Run Coverity daily at midnight
11 - cron: '0 0 * * *'
12
13 permissions:
14 contents: read
15
16 jobs:
17 build:
18 runs-on: ubuntu-22.04
19 if: github.repository == 'libproxy/libproxy'
20 env:
21 # Set in repo settings -> secrets -> actions
22 COVERITY_SCAN_TOKEN: "${{ secrets.COVERITY_SCAN_TOKEN }}"
23 COVERITY_SCAN_NOTIFICATION_EMAIL: "${{ secrets.COVERITY_SCAN_NOTIFICATION_EMAIL }}"
24 steps:
25 - name: Repository checkout
26 uses: actions/checkout@v4
27 - name: Ubuntu Setup
28 if: runner.os == 'Linux'
29 run: |
30 sudo apt-get update
31 sudo apt install \
32 libglib2.0-dev \
33 libgirepository1.0-dev \
34 duktape-dev \
35 meson \
36 gcovr \
37 gi-docgen \
38 gsettings-desktop-schemas-dev \
39 libcurl4-openssl-dev \
40 valac
41 - name: Build & upload the results
42 run: .github/coverity.sh