From 39b1ab8c4d2bbb10e75e682a0e6393f82d68bc31 Mon Sep 17 00:00:00 2001 From: yeggor Date: Wed, 20 Dec 2023 03:15:04 +0000 Subject: [PATCH] analyse plugin and loader with a single job --- .github/workflows/codeql-analysis.yml | 46 ++------------------------- 1 file changed, 3 insertions(+), 43 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f9a845c3..0ca3d1df 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,13 +1,13 @@ name: "CodeQL" on: push: - branches: [ master, dev ] + branches: [ master ] pull_request: # The branches below must be a subset of the branches above branches: [ master ] jobs: - analyze-efiXplorer: + analyze-everything: name: Analyze efiXplorer runs-on: ubuntu-latest permissions: @@ -37,7 +37,7 @@ jobs: cd .. curl -J -L "$IDA_SDK" -o idasdk83.zip unzip -P $PASSWORD idasdk83.zip - cd efiXplorer/efiXplorer + cd efiXplorer mkdir build cd build cmake .. -DIdaSdk_ROOT_DIR="../../idasdk83" -DHexRaysSdk_ROOT_DIR="../../hexrays_sdk" @@ -45,43 +45,3 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 - - analyze-efiXloader: - name: Analyze efiXloader - 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@v2 - - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} - - - name: Autobuild - env: - IDA_SDK: ${{ secrets.DOWNLOAD_LINK_IDA_SDK }} - PASSWORD: ${{ secrets.ZIP_PASSWORD }} - run: | - git submodule update --init --recursive - cd .. - curl -J -L "$IDA_SDK" -o idasdk83.zip - unzip -P $PASSWORD idasdk83.zip - cd efiXplorer/efiXloader - mkdir build - cd build - cmake .. -DIdaSdk_ROOT_DIR="../../idasdk83" - cmake --build . --config Release - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2