Skip to content

Commit

Permalink
fix coverity (#842)
Browse files Browse the repository at this point in the history
Co-authored-by: Catalin Toda <[email protected]>
  • Loading branch information
catalinii and Catalin Toda authored May 7, 2021
1 parent 2cbdc4c commit 05fba65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Binaries
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/coverity-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ jobs:

- name: Download Coverity Build Tool
run: |
wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&project=MINISATIP" -O cov-analysis-linux64.tar.gz
wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&project=$PROJECT" -O cov-analysis-linux64.tar.gz
mkdir cov-analysis-linux64
tar xzf cov-analysis-linux64.tar.gz --strip 1 -C cov-analysis-linux64
env:
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
PROJECT: minisatip2

- name: Build with cov-build
run: |
Expand All @@ -34,12 +35,13 @@ jobs:
run: |
tar czvf MINISATIP.tgz cov-int
curl \
--form project=MINISATIP \
--form project=$PROJECT \
--form token=$TOKEN \
--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=MINISATIP
https://scan.coverity.com/builds?project=$PROJECT
env:
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
PROJECT: minisatip2

0 comments on commit 05fba65

Please sign in to comment.