Hopefully fix code scanning build issues

This commit is contained in:
Jordan Dominion
2023-08-28 09:55:25 -04:00
parent 061540d65e
commit 4037410ce0
+8
View File
@@ -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