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/google-minijail 5name: Coverity Scan 6 7on: 8 push: 9 branches: [master] 10 11 schedule: 12 # The GH mirroring from Google GoB does not trigger push actions. 13 # Fire it once a week to provide some coverage. 14 - cron: '39 2 * * WED' 15 16 # Allow for manual triggers from the web. 17 workflow_dispatch: 18 19jobs: 20 coverity: 21 strategy: 22 matrix: 23 os: [ubuntu-latest] 24 cc: [clang] 25 runs-on: ${{ matrix.os }} 26 env: 27 CC: ${{ matrix.cc }} 28 steps: 29 - uses: actions/checkout@v2 30 - name: Install system packages 31 run: sudo apt-get install -y libcap-dev 32 - uses: vapier/coverity-scan-action@v1 33 with: 34 email: ${{ secrets.COVERITY_SCAN_EMAIL }} 35 token: ${{ secrets.COVERITY_SCAN_TOKEN }} 36