updates workflow to use codeql cli v2.11.5

This commit is contained in:
Laura Gonzalez 2023-01-24 14:11:55 -08:00
Родитель 5adc93d654
Коммит 193acd0c13
1 изменённых файлов: 8 добавлений и 3 удалений

11
.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