Moved newtonsoft json to system text json #248
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: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: "10.0.x" | |
| - name: Restore | |
| run: dotnet restore Contentstack.Net.sln | |
| - name: Setup Snyk CLI | |
| uses: snyk/actions/setup@master | |
| - name: Snyk test (Contentstack.Core lockfile) | |
| run: | | |
| snyk test \ | |
| --file=Contentstack.Core/obj/project.assets.json \ | |
| --fail-on=all \ | |
| --json-file-output=snyk.json | |
| env: | |
| SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
| continue-on-error: true | |
| - uses: contentstack/sca-policy@main |