Adds/updates the Enhanced Test Report tool that generates an HTML report from test results (TRX) and optional code coverage (Cobertura). The report provides a single view of test outcomes and coverage for the Contentstack Management .NET SDK. #224
This file contains hidden or 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: Source Composition Analysis Scan | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| security-sca: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@master | |
| - name: Run Dotnet Restore | |
| run: | | |
| dotnet restore | |
| - name: Run Snyk to check for vulnerabilities | |
| uses: snyk/actions/dotnet@master | |
| env: | |
| SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
| with: | |
| args: --file=Contentstack.Management.Core/obj/project.assets.json --fail-on=all |