From 4037410ce022ce254bd9b9ff0cca028c9fb924d0 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Mon, 28 Aug 2023 09:55:25 -0400 Subject: [PATCH] Hopefully fix code scanning build issues --- .github/workflows/code-scanning.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/code-scanning.yml b/.github/workflows/code-scanning.yml index 6680ca811c..fdd0e0ecdc 100644 --- a/.github/workflows/code-scanning.yml +++ b/.github/workflows/code-scanning.yml @@ -18,6 +18,9 @@ concurrency: group: "code-scanning-${{ github.head_ref || github.run_id }}-${{ github.event_name }}" cancel-in-progress: true +env: + TGS_DOTNET_VERSION: 6.0.x + jobs: analyze: name: Code Scanning @@ -28,6 +31,11 @@ jobs: security-events: write if: ${{ vars.TGS_ENABLE_CODE_QL }} == 'true' steps: + - name: Setup dotnet + uses: actions/setup-dotnet@v2 + with: + dotnet-version: ${{ env.TGS_DOTNET_VERSION }} + - name: Checkout uses: actions/checkout@v3