Skip to content

Merge pull request #851 from stephengtuggy/0.9.x_MacPorts #806

Merge pull request #851 from stephengtuggy/0.9.x_MacPorts

Merge pull request #851 from stephengtuggy/0.9.x_MacPorts #806

Workflow file for this run

# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: CodeQL
on:
push:
pull_request:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: ['cpp', 'python']
steps:
- name: Check out repository
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f #v4.1.3
with:
fetch-depth: 2
- name: Download benchmark bundle
env:
GH_TOKEN: ${{ github.token }}
# download the latest version
run: |
gh release download -R github/codeql-action --pattern 'codeql-bundle.tar.gz'
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@4b6aa0b07da05d6e43d0e5f9c8596a6532ce1c85 #v2.15.3
with:
languages: ${{ matrix.language }}
tools: codeql-bundle.tar.gz
- name: Bootstrap and Build the Code
run: |
sudo script/bootstrap
script/build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@4b6aa0b07da05d6e43d0e5f9c8596a6532ce1c85 #v2.15.3
with:
tools: codeql-bundle.tar.gz