Skip to content

Commit 05f9585

Browse files
committed
Update CodeQL workflow to improve submodule handling
Removed the debugging file listing step and added an explicit step to initialize and update submodules using git. This ensures submodules are properly set up before running CodeQL analysis.
1 parent 96e492b commit 05f9585

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,15 @@ jobs:
3030
language: [ 'csharp' ]
3131

3232
steps:
33-
- name: List files for debugging
34-
run: |
35-
ls -R
36-
3733
- name: Checkout repository
3834
uses: actions/checkout@v4
3935
with:
4036
submodules: recursive
4137
token: ${{ secrets.GITHUB_TOKEN }}
4238

39+
- name: Init & update submodules
40+
run: git submodule update --init --recursive
41+
4342
- name: Initialize CodeQL
4443
uses: github/codeql-action/init@v3
4544
with:

0 commit comments

Comments
 (0)