debian-forge/.github/workflows/coverity.yml
Brian C. Lane d30cbde6f8 workflows: Switch utility workflows to using ubuntu-24.04
Pin the os version at 24.04 to avoid unexpected changes that can happen
when using ubuntu-latest
2025-02-12 22:23:32 +00:00

40 lines
904 B
YAML

name: Coverity
on:
schedule:
- cron: '0 5 * * *' # Daily at 05:00 UTC
jobs:
coverity:
name: "Test Suite"
if: github.repository == 'osbuild/osbuild'
runs-on: ubuntu-24.04
defaults:
run:
working-directory: osbuild
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
path: osbuild
- name: Install Dependencies
run: |
sudo apt-get install python3-setuptools
- name: Download Coverity Tool
run: |
make coverity-download
env:
COVERITY_TOKEN: ${{ secrets.COVERITY_TOKEN }}
- name: Coverity check
run: |
make coverity-check
- name: Upload analysis results
run: |
make coverity-submit
env:
COVERITY_TOKEN: ${{ secrets.COVERITY_TOKEN }}
COVERITY_EMAIL: ${{ secrets.COVERITY_EMAIL }}