From be47fd01da5222f23cfb75baf7b479bf52dbb7b3 Mon Sep 17 00:00:00 2001 From: Raghd Hamzeh Date: Tue, 7 Jun 2022 17:29:39 -0400 Subject: [PATCH] chore(ci): fix FOSSA and snyk integrations FOSSA failure is due to `Microsoft.NET.Test.Sdk` in the tests which has already been cleared by legal --- .fossa.yml | 6 ++++++ .github/workflows/main.yaml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.fossa.yml b/.fossa.yml index 2e18bfa..29a5f9c 100644 --- a/.fossa.yml +++ b/.fossa.yml @@ -7,3 +7,9 @@ project: name: github.com/auth0-lab/fga-dotnet-sdk link: fga.dev url: github.com/auth0-lab/fga-dotnet-sdk + +paths: + only: + - ./src/Auth0.Fga + exclude: + - ./src/Auth0.Fga.Test \ No newline at end of file diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 17629db..a1caab8 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -31,6 +31,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 6.0.x + - name: Restore dependencies + run: dotnet restore - name: Run Snyk to check for vulnerabilities uses: snyk/actions/dotnet@master env: