From f481e1fd8ccdbafd7ec770692375aef32b29a0e0 Mon Sep 17 00:00:00 2001 From: Kamil Skwarczynski Date: Tue, 25 Jun 2024 08:56:13 +0200 Subject: [PATCH] Check code QL with images --- .github/workflows/CodeQL.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/CodeQL.yml b/.github/workflows/CodeQL.yml index a42a99e2..859b14c4 100644 --- a/.github/workflows/CodeQL.yml +++ b/.github/workflows/CodeQL.yml @@ -14,6 +14,8 @@ jobs: analyze: name: Analyze C++ Code with CodeQL runs-on: ubuntu-latest + container: + image: ghcr.io/mach3-software/mach3:alma9latest permissions: security-events: write packages: read @@ -29,6 +31,12 @@ jobs: languages: c-cpp build: none # Specify build none to skip any build steps + - name: Build Code + run: | + mkdir build + cd build + cmake .. + make - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3