From 19c167a07dcfc9579fc6dbc8f67f6f807537d3ad Mon Sep 17 00:00:00 2001 From: Ludvig Michaelsson Date: Mon, 10 Jun 2024 10:37:00 +0200 Subject: [PATCH] actions: specify CodeQL build steps manually --- .github/workflows/codeql-analysis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 35ba5e56..157a8246 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -30,6 +30,9 @@ jobs: fetch-depth: 2 - name: init codeql uses: github/codeql-action/init@v3 + with: + language: c-cpp + build-mode: manual - name: build env: CC: gcc @@ -40,3 +43,5 @@ jobs: ./.actions/build-linux-gcc - name: perform codeql analysis uses: github/codeql-action/analyze@v3 + with: + category: "/language:c-cpp"