scanner: merge multiple declarations of MpdClient and SwayClient #573
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GitHub actions workflow. | |
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions | |
# https://scan.coverity.com/projects/openrc-openrc | |
name: Coverity Scan | |
on: | |
push: | |
branches: [main] | |
jobs: | |
coverity: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo apt-get update | |
- run: sudo apt-get -y install libgtk-3-dev meson libgtk-layer-shell-dev libjson-c-dev libmpdclient-dev libpulse-dev | |
- run: meson setup builddir/ -Dpulse=enabled -Dmpd=enabled -Dnetwork=enabled | |
env: | |
CC: gcc | |
- uses: vapier/coverity-scan-action@v1 | |
with: | |
command: ninja -C builddir | |
email: ${{ secrets.COVERITY_SCAN_EMAIL }} | |
token: ${{ secrets.COVERITY_SCAN_TOKEN }} |