Skip to content

Commit 35b6c40

Browse files
authored
Merge pull request #13 from codeplaysoftware/coverity
Add Coverity Scan scan
2 parents e15f5e9 + 1f742bb commit 35b6c40

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

.github/workflows/coverity.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Coverity Scan
2+
3+
# We only want to test official release code, not every pull request.
4+
on:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
coverity:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: vapier/coverity-scan-action@v1
15+
with:
16+
project: Template-Repo
17+
email: ${{ secrets.COVERITY_SCAN_EMAIL }}
18+
token: ${{ secrets.COVERITY_SCAN_TOKEN }}
19+
working-directory: 'cpp_source'

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
# Template-Repo
1+
# Template-Repo
2+
3+
[![Coverity scan build status](https://img.shields.io/coverity/scan/30204.svg)](https://scan.coverity.com/projects/template-repo)

0 commit comments

Comments
 (0)