Switch to github/codeql-action/analyze@v2 #91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coverity Scan | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: catalinii/minisatip-build-image:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: configure | |
run: ./configure | |
- name: 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 | |
env: | |
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} | |
PROJECT: minisatip2 |