Skip to content

Update CodeQL Action from using v2 to v3 #16

Update CodeQL Action from using v2 to v3

Update CodeQL Action from using v2 to v3 #16

Workflow file for this run

name: "CodeQL Analysis"
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
workflow_dispatch:
jobs:
CodeqQL-Analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'cpp' ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Install Open MPI
run: sudo apt-get install libopenmpi-dev
- name: Install json-c
run: sudo apt-get install libjson-c-dev
- name: Install Catch2
run: sudo apt-get install catch2
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"