blob: 42839cc5737a6cbe46b9cb8733a80e5608fba7cc [file] [log] [blame]
Mike Frysinger21401562021-10-04 23:37:57 -04001# 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
Mike Frysingerd90a2682021-11-18 14:02:05 -050011 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
Mike Frysinger21401562021-10-04 23:37:57 -040019jobs:
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@v0
33 with:
34 project: google%2Fminijail
35 email: vapier@google.com
36 token: ${{ secrets.COVERITY_SCAN_TOKEN }}