Update GitHub Actions workflow dependencies #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CodeQL | |
on: | |
workflow_dispatch: | |
branches: [master] | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
env: | |
SOLUTION_FILE_PATH: ./uefi-ntfs.sln | |
BUILD_CONFIGURATION: Debug | |
TARGET_PLATFORM: x64 | |
jobs: | |
CodeQL-Build: | |
runs-on: windows-latest | |
permissions: | |
security-events: write | |
steps: | |
- name: Check out repository and submodules | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: cpp | |
- name: Add MSBuild to PATH | |
uses: microsoft/setup-msbuild@v2 | |
- name: Build UEFI bootloader | |
run: msbuild ${{ env.SOLUTION_FILE_PATH }} /m /p:Configuration=${{ env.BUILD_CONFIGURATION }},Platform=${{ env.TARGET_PLATFORM }} | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |