diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a1761b4..04b15fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,16 +19,12 @@ jobs: steps: - uses: actions/checkout@v4 - - - name: Setup .NET Core SDK - uses: actions/setup-dotnet@v4 - with: - dotnet-version: "${{ env.dotnet_version }}" - - name: SCA checks - run: | - dotnet tool restore - dotnet pkgchk --vulnerable --deprecated --transitive + - name: Run SCA + uses: tonycknight/pkgchk-action@v1.0.14 + with: + trace: true + style-checks: name: Style Checks diff --git a/.github/workflows/sca.yml b/.github/workflows/sca.yml index 23edc76..fe8168d 100644 --- a/.github/workflows/sca.yml +++ b/.github/workflows/sca.yml @@ -20,10 +20,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup .NET SDK - uses: actions/setup-dotnet@v4 - - - name: dotnet SCA - run: | - dotnet tool restore - dotnet pkgchk --vulnerable --deprecated --transitive \ No newline at end of file + - name: Run SCA + uses: tonycknight/pkgchk-action@v1.0.14 + \ No newline at end of file