diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml index 1ba26c8..405b39a 100644 --- a/.github/workflows/snyk.yml +++ b/.github/workflows/snyk.yml @@ -4,12 +4,17 @@ on: [push] jobs: security: runs-on: ubuntu-latest + strategy: + matrix: + dotnet-version: [6.x, 7.x, 8.x] steps: - uses: actions/checkout@master - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: ${{ matrix.dotnet-version }} - name: Restore dependencies - run: dotnet restore .\Infobip.Api.Client.sln + run: dotnet restore Infobip.Api.Client.sln - name: Run Snyk to check for vulnerabilities uses: snyk/actions/dotnet@master continue-on-error: true # To make sure that SARIF upload gets called