From 5d875d66ef0fb5933cdeb8a2e85113d113d574e5 Mon Sep 17 00:00:00 2001 From: Maurizio Casimirri Date: Wed, 13 Dec 2023 14:57:22 +0100 Subject: [PATCH] Add or update CodeQL workflow --- .github/workflows/codeql.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 93f123d..a941bf0 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -65,18 +65,18 @@ jobs: - '**/*.spec.tsx' - name: Use Node.js v18.x - if: matrix.language == 'cpp' - uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 - with: - node-version: 18.x + if: matrix.language == 'cpp' + uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 + with: + node-version: 18.x - name: Build cpp - if: matrix.language == 'cpp' - run: | - npx node-gyp rebuild + if: matrix.language == 'cpp' + run: | + npx node-gyp rebuild - - name: Perform CodeQL Analysis + - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 with: category: "/language:${{matrix.language}}"