mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2024-12-26 13:28:22 +01:00
Tweak coverity Github Actions.
This commit is contained in:
parent
0c6b8f49d2
commit
f425952f36
13
.github/workflows/coverity.yml
vendored
13
.github/workflows/coverity.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
|||||||
run: sudo apt-get install -y zlib1g-dev
|
run: sudo apt-get install -y zlib1g-dev
|
||||||
- name: Download Coverity Build Tool
|
- name: Download Coverity Build Tool
|
||||||
run: |
|
run: |
|
||||||
wget -q https://scan.coverity.com/download/linux64 --post-data token=$TOKEN\&project=michaelrsweet\%2Fpdfio -O cov-analysis-linux64.tar.gz
|
wget -q https://scan.coverity.com/download/linux64 --post-data token="$TOKEN&project=$GITHUB_REPOSITORY" -O cov-analysis-linux64.tar.gz
|
||||||
mkdir cov-analysis-linux64
|
mkdir cov-analysis-linux64
|
||||||
tar xzf cov-analysis-linux64.tar.gz --strip 1 -C cov-analysis-linux64
|
tar xzf cov-analysis-linux64.tar.gz --strip 1 -C cov-analysis-linux64
|
||||||
env:
|
env:
|
||||||
@ -26,14 +26,13 @@ jobs:
|
|||||||
cov-build --dir cov-int make
|
cov-build --dir cov-int make
|
||||||
- name: Submit the result to Coverity Scan
|
- name: Submit the result to Coverity Scan
|
||||||
run: |
|
run: |
|
||||||
tar czvf pdfio-cov.tgz cov-int
|
tar czvf cov.tgz cov-int
|
||||||
curl \
|
curl \
|
||||||
--form project=ruby \
|
|
||||||
--form token=$TOKEN \
|
--form token=$TOKEN \
|
||||||
--form email=michael.r.sweet@gmail.com \
|
--form email=michael.r.sweet@gmail.com \
|
||||||
--form file=@pdfio-cov.tgz \
|
--form file=@cov.tgz \
|
||||||
--form version="Master" \
|
--form version="$GITHUB_REF" \
|
||||||
--form description="Snapshot" \
|
--form description="$GITHUB_SHA" \
|
||||||
"https://scan.coverity.com/builds?project=michaelrsweet%2Fpdfio"
|
"https://scan.coverity.com/builds?project=$GITHUB_REPOSITORY"
|
||||||
env:
|
env:
|
||||||
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
|
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user