mirror of
https://github.com/linux-msm/qdl.git
synced 2026-02-25 13:12:25 -08:00
Add CodeQL workflow to get some code analysis. Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
31 lines
587 B
YAML
31 lines
587 B
YAML
name: CodeQL
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
|
|
jobs:
|
|
codeql:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y libxml2-dev libusb-1.0-0-dev
|
|
|
|
- name: CodeQL init
|
|
uses: github/codeql-action/init@v3
|
|
with:
|
|
languages: c-cpp
|
|
build-mode: autobuild
|
|
|
|
- name: CodeQL build
|
|
uses: github/codeql-action/autobuild@v3
|
|
|
|
- name: CodeQL analysis
|
|
uses: github/codeql-action/analyze@v3
|
|
|