Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run CodeQL #669

Merged
merged 2 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 0 additions & 56 deletions .github/workflows/tiiuae-blackduck-scan.yaml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/tiiuae-codeql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: "CodeQL"

on:
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-cpp]
product: [ssrc_saluki-v2_default, ssrc_saluki-nxp93_flat]

container:
image: ghcr.io/tiiuae/px4-firmware-builder-base:latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_REPO_TOKEN }}
submodules: recursive
fetch-depth: 0
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Build
run: |
git config --global --add safe.directory '*'
./packaging/build_px4fw.sh ${{ matrix.product }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
47 changes: 0 additions & 47 deletions .github/workflows/tiiuae-coverity-scan-image.yaml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/tiiuae-coverity-scan.yaml

This file was deleted.

Loading