Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

synopsys-sig/synopsys-action not scanning scala code #229

Open
sanararoj opened this issue Jun 14, 2024 · 1 comment
Open

synopsys-sig/synopsys-action not scanning scala code #229

sanararoj opened this issue Jun 14, 2024 · 1 comment

Comments

@sanararoj
Copy link

sanararoj commented Jun 14, 2024

We are using a bunch of git repositories with C#, Python and Scala languages.

As initial and simply approach we are using th synopsys-action like this

coverity:
    runs-on: orchestrator-runner
    if: github.repository == 'Test/repoTest'
    steps:
      - name: Check out repository code
        uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2

      - name: Run Coverity Analysis
        uses: synopsys-sig/synopsys-action@10044b457c8e47c18f58be717953bd992411df97 # v1.5.0
        with:
          coverity_url: ${{ env.COVERITY_URL }}
          coverity_user: ${{ env.COVERITY_USER }}
          coverity_passphrase: ${{ env.COVERITY_PASSPHRASE }}
          coverity_project_name: ${{ github.event.repository.name }}
          coverity_stream_name: ${{ format('{0}-{1}', github.event.repository.name, ((github.event_name == 'push' && github.ref_name) || (github.event_name == 'pull_request' && github.base_ref))) }}
          coverity_local: true

image

image

As you can noticed in the pictures C# and Python files are detected and scanned, we can even see the security issues in the coverity portal

However, Scala files that are in the same GIT HUB workspace are not being picked by the coverity scan.

Is this action actually supporting the scanning of Scala files ?

Best regards

@sanararoj
Copy link
Author

Additionally, I was reviewing all logs in git hub workflow execution for this action. I notice neither compiler scala or scala c is triggered, hopes this help with the troubleshooting
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant