From d36624162521a1fd77203295af68958d5f0ebb21 Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Wed, 10 May 2023 19:09:53 +0100 Subject: [PATCH] checkout repository before setting up java --- .github/workflows/codeql-analysis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index bf1de920f..d63d60009 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -37,6 +37,10 @@ jobs: # Learn more about CodeQL language support at https://git.io/codeql-language-support steps: + + - name: Checkout repository + uses: actions/checkout@v3 + - name: Setup Java 17 uses: actions/setup-java@v3 with: @@ -44,9 +48,6 @@ jobs: distribution: "temurin" cache: "gradle" - - name: Checkout repository - uses: actions/checkout@v3 - # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2