From 86305c291dd780b77bb8d5afaeb55d11a0b41854 Mon Sep 17 00:00:00 2001 From: Vladimir Portyanikhin <86243191+portyanikhin@users.noreply.github.com> Date: Wed, 15 Nov 2023 21:35:30 +0300 Subject: [PATCH] Replacing auto build with manual one --- .github/workflows/codeql-analysis.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6ca4a4b..7983330 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -24,11 +24,19 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 6.0.x + 8.0.x - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} - - name: Autobuild - uses: github/codeql-action/autobuild@v2 + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2