]> git.ipfire.org Git - thirdparty/systemd.git/blob - .github/workflows/coverity.yml
build(deps): bump actions/checkout from 4.1.0 to 4.1.1
[thirdparty/systemd.git] / .github / workflows / coverity.yml
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 schedule:
9 # Run Coverity daily at midnight
10 - cron: '0 0 * * *'
11
12 permissions:
13 contents: read
14
15 jobs:
16 build:
17 runs-on: ubuntu-22.04
18 if: github.repository == 'systemd/systemd'
19 env:
20 # Set in repo settings -> secrets -> actions
21 COVERITY_SCAN_TOKEN: "${{ secrets.COVERITY_SCAN_TOKEN }}"
22 COVERITY_SCAN_NOTIFICATION_EMAIL: "${{ secrets.COVERITY_SCAN_NOTIFICATION_EMAIL }}"
23 steps:
24 - name: Repository checkout
25 uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
26 # Reuse the setup phase of the unit test script to avoid code duplication
27 - name: Install build dependencies
28 run: sudo -E .github/workflows/unit_tests.sh SETUP
29 - name: Build & upload the results
30 run: tools/coverity.sh