Skip to content

Commit

Permalink
Try using vapier/coverity-scan-action
Browse files Browse the repository at this point in the history
  • Loading branch information
Jalle19 committed Aug 27, 2024
1 parent 5ba13eb commit b594536
Showing 1 changed file with 5 additions and 24 deletions.
29 changes: 5 additions & 24 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,10 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
PROJECT: minisatip2
steps:
- uses: actions/checkout@v4
- name: configure
run: ./configure
- name: Install Coverity Scan
run: |
mkdir cov-analysis-linux64
wget https://scan.coverity.com/download/cxx/linux64 --post-data "token=${TOKEN}&project=${PROJECT}" -O cov-analysis-linux64.tar.gz
tar xzf cov-analysis-linux64.tar.gz --strip 1 -C cov-analysis-linux64
- name: Run Coverity Scan
run: |
make clean
cov-analysis-linux64/bin/cov-build --dir cov-int make
tar czvf MINISATIP.tgz cov-int
curl \
--form project=$PROJECT \
--form token=$(cat /etc/coverity) \
--form email='reply+AB6SAEPNLEJSCE2WJ37GDNF6TC2NXEVBNHHDIEHQTY@reply.github.com' \
--form [email protected] \
--form version=trunk \
--form description="`git log -1 --pretty=format:%h`" \
https://scan.coverity.com/builds?project=$PROJECT
- uses: vapier/coverity-scan-action@v1
with:
project: minisatip2
token: ${{ secrets.COVERITY_SCAN_TOKEN }}
email: reply+AB6SAEPNLEJSCE2WJ37GDNF6TC2NXEVBNHHDIEHQTY@reply.github.com

0 comments on commit b594536

Please sign in to comment.