3 # SPDX-License-Identifier: LGPL-2.1-or-later
9 # Run Coverity daily at midnight
18 if: github.repository == 'systemd/systemd'
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 }}"
24 - name: Repository checkout
25 uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
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