Skip to content

Commit

Permalink
Merge pull request #13 from codeplaysoftware/coverity
Browse files Browse the repository at this point in the history
Add Coverity Scan scan
  • Loading branch information
alistair-low authored May 10, 2024
2 parents e15f5e9 + 1f742bb commit 35b6c40
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Coverity Scan

# We only want to test official release code, not every pull request.
on:
push:
branches:
- main

jobs:
coverity:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: vapier/coverity-scan-action@v1
with:
project: Template-Repo
email: ${{ secrets.COVERITY_SCAN_EMAIL }}
token: ${{ secrets.COVERITY_SCAN_TOKEN }}
working-directory: 'cpp_source'
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Template-Repo
# Template-Repo

[![Coverity scan build status](https://img.shields.io/coverity/scan/30204.svg)](https://scan.coverity.com/projects/template-repo)

0 comments on commit 35b6c40

Please sign in to comment.