Skip to content

CodeQL

CodeQL #9210

name: "CodeQL"
on:
push:
branches: [develop]
pull_request:
branches: [develop]
schedule:
- cron: "0 0 * * *"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# Override automatic language detection by changing the below list
language: ["python", "typescript"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
# Install python dependencies
- if: matrix.language == 'python'
name: Setup python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- if: matrix.language == 'python'
name: Install dependencies with pip
run: pip install -e .[dev-pinned,pinned]
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# Override the default behavior so that the action doesn't attempt
# to auto-install Python dependencies
setup-python-dependencies: false
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3