Skip to content

Commit c047720

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

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/codeql.yml

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

4343
- name: Rebase
4444
if: github.event_name == 'pull_request'
@@ -57,31 +57,30 @@ jobs:
5757
git log --graph --oneline HEAD...${PR_HEAD}
5858
5959
- name: Set up Python
60+
if: matrix.language == 'c-cpp'
6061
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
6162
with:
6263
python-version: 3.11
6364

6465
- name: Setup Zephyr project
66+
if: matrix.language == 'c-cpp'
6567
uses: zephyrproject-rtos/action-zephyr-setup@f7b70269a8eb01f70c8e710891e4c94972a2f6b4 # v1.0.6
6668
with:
67-
app-path: zephyr
69+
app-path: .
6870
toolchains: all
6971

7072
- name: Initialize CodeQL
7173
uses: github/codeql-action/init@v3
7274
with:
7375
languages: ${{ matrix.language }}
7476
build-mode: ${{ matrix.build-mode }}
75-
source-root: zephyr
7677

7778
- if: matrix.build-mode == 'manual'
7879
shell: bash
7980
run: |
80-
cd zephyr
8181
west build -b qemu_x86 samples/hello_world
8282
8383
- name: Perform CodeQL Analysis
8484
uses: github/codeql-action/analyze@v3
8585
with:
8686
category: "/language:${{matrix.language}}"
87-
checkout_path: zephyr

0 commit comments

Comments
 (0)