From e24326ea92dc109c9301a3eb3a0fdf8a5fefbbe9 Mon Sep 17 00:00:00 2001 From: Albie Date: Wed, 10 Jul 2024 07:07:53 +0100 Subject: [PATCH] replace NVika with SARIF uploads --- .github/workflows/quality.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 9c2c788..d4a77e1 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -12,18 +12,18 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: - dotnet-version: | - 6.0.x - 8.0.x + dotnet-version: '8.0.x' - name: Restore Project/Tools run: | dotnet restore - dotnet tool install --global NVika dotnet tool install --global JetBrains.ReSharper.GlobalTools - name: InspectCode - run: jb inspectcode DragonFruit.Kaplan.sln --output=inspectcodereport.xml --verbosity=WARN --no-build + run: jb inspectcode DragonFruit.Kaplan.sln --output=inspectcode.sarif --verbosity=WARN --no-build - - name: Vika - run: nvika parsereport "${{github.workspace}}/inspectcodereport.xml" + - name: Upload SARIF file + uses: github/codeql-action/upload-sarif@v3 + with: + sarif_file: inspectcode.sarif + category: InspectCode