summaryrefslogtreecommitdiff
path: root/.github/workflows/coverity.yml
blob: 99a4b151b87f7817713c6e3be39f65be9fa39f1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Nightly build for the master branch running coverity.
name: Coverity Build

on:
  workflow_dispatch:
  schedule:
  - cron: '15 2 * * *'

env:
  docker-registry: docker.pkg.github.com
  docker-config-path: ci/docker

jobs:
  build:
    name: Coverity
    runs-on: ubuntu-latest
    steps:
    - name: Check out repository
      uses: actions/checkout@v2
      with:
        fetch-depth: 0
    - name: Download container
      run: ci/getcontainer.sh ci/docker/xenial
      env:
        DOCKER_REGISTRY: ${{ env.docker-registry }}
        GITHUB_TOKEN: ${{ secrets.github_token }}
    - name: Run Coverity
      run: ci/coverity.sh
      env:
        COVERITY_TOKEN: ${{ secrets.coverity_token }}