Skip to content

run codeql

run codeql #1

Workflow file for this run

name: "CodeQL"
on:
push:
pull_request:
branches: [main]
workflow_dispatch:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
strategy:
fail-fast: false
matrix:
language: [c++]
# Specify the container in which actions will run
container:
image: ghcr.io/tiiuae/px4-firmware-builder-base:latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Build
run: |
./packaging/build_px4fw.sh ssrc_saluki-v2_default
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2