Skip to content

Commit 04194b1

Browse files
committed
path
Signed-off-by: Anas Nashif <[email protected]>
1 parent 92631ce commit 04194b1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/codeql.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ jobs:
3737
- name: Checkout
3838
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3939
with:
40-
path: zephyr
4140
fetch-depth: 0
4241

4342
- name: Rebase
@@ -57,31 +56,30 @@ jobs:
5756
git log --graph --oneline HEAD...${PR_HEAD}
5857
5958
- name: Set up Python
59+
if: matrix.language == 'c-cpp'
6060
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
6161
with:
6262
python-version: 3.11
6363

6464
- name: Setup Zephyr project
65+
if: matrix.language == 'c-cpp'
6566
uses: zephyrproject-rtos/action-zephyr-setup@f7b70269a8eb01f70c8e710891e4c94972a2f6b4 # v1.0.6
6667
with:
67-
app-path: zephyr
68+
app-path: .
6869
toolchains: all
6970

7071
- name: Initialize CodeQL
7172
uses: github/codeql-action/init@v3
7273
with:
7374
languages: ${{ matrix.language }}
7475
build-mode: ${{ matrix.build-mode }}
75-
source-root: zephyr
7676

7777
- if: matrix.build-mode == 'manual'
7878
shell: bash
7979
run: |
80-
cd zephyr
8180
west build -b qemu_x86 samples/hello_world
8281
8382
- name: Perform CodeQL Analysis
8483
uses: github/codeql-action/analyze@v3
8584
with:
8685
category: "/language:${{matrix.language}}"
87-
checkout_path: zephyr

0 commit comments

Comments
 (0)