Update bd-snps-action.yml #1
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
# example workflow for Coverity scans using the Synopsys Action | |
# https://github.com/marketplace/actions/synopsys-action | |
name: coverity-snps-action | |
on: | |
push: | |
branches: [ main, master, develop, stage, release ] | |
pull_request: | |
branches: [ main, master, develop, stage, release ] | |
workflow_dispatch: | |
jobs: | |
coverity: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v4 | |
- name: Setup Java JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: microsoft | |
cache: maven | |
- name: Coverity Scan | |
uses: synopsys-sig/[email protected] | |
with: | |
coverity_url: ${{ vars.COVERITY_URL }} | |
coverity_user: ${{ secrets.COV_USER }} | |
coverity_passphrase: ${{ secrets.COVERITY_PASSPHRASE }} | |
coverity_policy_view: ${{ github.event_name != 'pull_request' && 'Outstanding Issues' || '' }} | |
coverity_prComment_enabled: true | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
# coverity_local: true | |
# - name: Save Logs | |
# if: always() | |
# uses: actions/upload-artifact@v4 | |
# with: | |
# name: bridge-logs | |
# path: ${{ github.workspace }}/.bridge |