Skip to content

Commit

Permalink
WIP: codeql everywhere
Browse files Browse the repository at this point in the history
Add codeql to esp32-build.yaml workflow

Signed-off-by: Winford <[email protected]>
  • Loading branch information
UncleGrumpy committed Feb 8, 2025
1 parent b257211 commit 783866f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/esp32-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,12 @@ jobs:
idf.py clean
cp sdkconfig.defaults.backup sdkconfig.defaults
- name: "Initialize CodeQL"
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: +../../../code-queries/term-to-non-term-func.ql,../../../code-queries/non-term-to-term-func.ql

- name: Build ESP32 tests using idf.py
working-directory: ./src/platforms/esp32/test/
run: |
Expand All @@ -177,3 +183,6 @@ jobs:
. $IDF_PATH/export.sh
export PATH=/opt/qemu/bin:${PATH}
pytest --target=${{matrix.esp-idf-target}} --embedded-services=idf,qemu -s
- name: "Perform CodeQL Analysis"
uses: github/codeql-action/analyze@v3

0 comments on commit 783866f

Please sign in to comment.