From 193acd0c1394478dd5c731ea855b7524d7a30668 Mon Sep 17 00:00:00 2001 From: Laura Gonzalez Date: Tue, 24 Jan 2023 14:11:55 -0800 Subject: [PATCH] updates workflow to use codeql cli v2.11.5 --- .github/workflows/build-codeql.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-codeql.yaml b/.github/workflows/build-codeql.yaml index 45974a0..ff2367a 100644 --- a/.github/workflows/build-codeql.yaml +++ b/.github/workflows/build-codeql.yaml @@ -1,5 +1,5 @@ # Continuous integration action for the CodeQL components of this repo. -# This downloads the CodeQL CLI and then builds all the queries in the "windows-drivers" folder. +# This workflow downloads the CodeQL CLI and builds all the queries. name: Build Windows CodeQL queries @@ -25,13 +25,12 @@ jobs: uses: actions/checkout@v2 with: path: . - submodules: recursive - name: Download CodeQL CLI uses: i3h/download-release-asset@v1.2.0 with: owner: "github" repo: "codeql-cli-binaries" - tag: "v2.6.3" + tag: "v2.11.5" file: "codeql-win64.zip" - name: Unzip CodeQL CLI run: Expand-Archive -Path codeql-win64.zip -DestinationPath .\codeql-zip -Force @@ -39,6 +38,12 @@ jobs: shell: cmd continue-on-error: true # Required because robocopy returns 1 on success run: robocopy /S /move .\codeql-zip\codeql .\codeql-cli\ + + - name: Install CodeQL Packages + shell: cmd + continue-on-error: true + run: .\codeql-cli\codeql.cmd package install .\ + - name: Build must-fix driver suite shell: cmd run: .\codeql-cli\codeql.cmd query compile --check-only windows_driver_mustfix.qls