From 78e33f91d840cdb9af79687f4880e066b1e281d7 Mon Sep 17 00:00:00 2001 From: Raki <46581776+mdrakiburrahman@users.noreply.github.com> Date: Sun, 6 Oct 2024 19:10:32 -0400 Subject: [PATCH] Update codeql with Git checkout --- .github/workflows/codeql.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 7289551..1d0591b 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -49,6 +49,16 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + submodules: false + + - name: Checkout specific delta-kernel-rs release + shell: bash + run: | + GIT_ROOT=$(git rev-parse --show-toplevel) + git submodule update --init + DELTA_KERNEL_RS_TAG=$(cat "$GIT_ROOT/src/DeltaLake/Kernel/delta-kernel-rs.version.txt") + git -C "$GIT_ROOT/src/DeltaLake/Kernel/delta-kernel-rs" checkout "$DELTA_KERNEL_RS_TAG" # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL