diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql.yml similarity index 86% rename from .github/workflows/codeql-analysis.yml rename to .github/workflows/codeql.yml index 53fe0025..bad7c0fa 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'c++' ] + language: [ 'c++', 'python' ] steps: - name: Checkout repository @@ -32,16 +32,19 @@ jobs: languages: ${{ matrix.language }} - name: Install Linux Dependencies + if: matrix.language == 'c++' run: | sudo apt-get update; sudo apt-get install -y libsnmp-dev libperl-dev; - name: Set up Python 3.10 + if: matrix.language == 'c++' uses: actions/setup-python@v5 with: python-version: "3.10" - name: Build Python Extension + if: matrix.language == 'c++' run: | pip install .